From cad59db2c4b59340db4129d3f09353edb83861f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tpg=20=28Tomasz=20Pawe=C5=82=20Gajc=29?= Date: Sat, 18 Apr 2015 14:12:34 +0200 Subject: [PATCH] fix target name --- calamares-install-setup | 2 +- calamares-install-start | 2 +- calamares.service | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calamares-install-setup b/calamares-install-setup index 51b8672..fa9c3f3 100644 --- a/calamares-install-setup +++ b/calamares-install-setup @@ -1,7 +1,7 @@ #!/bin/sh # tpgxyz@gmail.com -if grep -q '\bsystemd.unit=installer.target\b' /proc/cmdline; then +if grep -q '\bsystemd.unit=calamares.target\b' /proc/cmdline; then . /etc/locale.conf # ensure plymouth really has stopped diff --git a/calamares-install-start b/calamares-install-start index 7ed50a2..8e5c720 100644 --- a/calamares-install-start +++ b/calamares-install-start @@ -1,7 +1,7 @@ #!/bin/sh # tpgxyz@gmail.com -if grep -q '\bsystemd.unit=installer.target\b' /proc/cmdline; then +if grep -q '\bsystemd.unit=calamares.target\b' /proc/cmdline; then if [ -x /usr/bin/startx ] && [ -x /usr/sbin/calamares-install-setup ]; then /usr/bin/startx /usr/sbin/calamares-install-setup $* -- -dpi 96 vt1 -background none else diff --git a/calamares.service b/calamares.service index 07f7f58..56c9ba6 100644 --- a/calamares.service +++ b/calamares.service @@ -7,7 +7,7 @@ Conflicts=getty@%i.service Before=display-manager.service Before=getty.target Wants=NetworkManager.service -ConditionKernelCommandLine=|systemd.unit=installer.target +ConditionKernelCommandLine=|systemd.unit=calamares.target [Service] Type=idle