mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-26 08:59:58 +07:00
units: set working directory to /root for sulogin, since sulogin is crazy
This commit is contained in:
parent
b00bad3641
commit
1fd116f748
@ -13,6 +13,7 @@ DefaultDependencies=no
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=HOME=/root
|
Environment=HOME=/root
|
||||||
|
WorkingDirectory=/root
|
||||||
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=-/sbin/sulogin
|
ExecStart=-/sbin/sulogin
|
||||||
|
@ -16,6 +16,7 @@ Before=multi-user.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment=HOME=/root
|
Environment=HOME=/root
|
||||||
|
WorkingDirectory=/root
|
||||||
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=-/sbin/sulogin
|
ExecStart=-/sbin/sulogin
|
||||||
|
Loading…
Reference in New Issue
Block a user