fix target name

This commit is contained in:
tpg (Tomasz Paweł Gajc) 2015-04-18 14:12:34 +02:00
parent c38a447f91
commit cad59db2c4
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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