mirror of
https://github.com/systemd/systemd.git
synced 2025-09-13 05:44:40 +03:00
units: invoke sulogin instead of /bin/sh
This commit is contained in:
@@ -14,7 +14,7 @@ DefaultDependencies=no
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=-/bin/plymouth --hide-splash
|
ExecStartPre=-/bin/plymouth --hide-splash
|
||||||
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
|
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
|
||||||
ExecStart=/bin/sh
|
ExecStart=-/sbin/sulogin
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
Restart=restart-always
|
Restart=restart-always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
@@ -17,7 +17,7 @@ Before=multi-user.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=-/bin/plymouth --hide-splash
|
ExecStartPre=-/bin/plymouth --hide-splash
|
||||||
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.'
|
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.'
|
||||||
ExecStart=/bin/sh
|
ExecStart=-/sbin/sulogin
|
||||||
StandardInput=tty-force
|
StandardInput=tty-force
|
||||||
Restart=restart-always
|
Restart=restart-always
|
||||||
RestartSec=0
|
RestartSec=0
|
||||||
|
Reference in New Issue
Block a user