mirror of
https://abf.rosa.ru/djam/calamares.git
synced 2025-02-24 08:02:50 +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
|
#!/bin/sh
|
||||||
# tpgxyz@gmail.com
|
# 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
|
. /etc/locale.conf
|
||||||
|
|
||||||
# ensure plymouth really has stopped
|
# ensure plymouth really has stopped
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# tpgxyz@gmail.com
|
# 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
|
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
|
/usr/bin/startx /usr/sbin/calamares-install-setup $* -- -dpi 96 vt1 -background none
|
||||||
else
|
else
|
||||||
|
|
|
@ -7,7 +7,7 @@ Conflicts=getty@%i.service
|
||||||
Before=display-manager.service
|
Before=display-manager.service
|
||||||
Before=getty.target
|
Before=getty.target
|
||||||
Wants=NetworkManager.service
|
Wants=NetworkManager.service
|
||||||
ConditionKernelCommandLine=|systemd.unit=installer.target
|
ConditionKernelCommandLine=|systemd.unit=calamares.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=idle
|
Type=idle
|
||||||
|
|
Loading…
Add table
Reference in a new issue