mirror of
https://abf.rosa.ru/djam/calamares.git
synced 2025-02-23 15:42:49 +00:00
fix target name
This commit is contained in:
parent
c38a447f91
commit
cad59db2c4
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue