mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-25 00:20:23 +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]
|
||||
Environment=HOME=/root
|
||||
WorkingDirectory=/root
|
||||
ExecStartPre=-/bin/plymouth --hide-splash
|
||||
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.'
|
||||
ExecStart=-/sbin/sulogin
|
||||
|
@ -16,6 +16,7 @@ Before=multi-user.target
|
||||
|
||||
[Service]
|
||||
Environment=HOME=/root
|
||||
WorkingDirectory=/root
|
||||
ExecStartPre=-/bin/plymouth --hide-splash
|
||||
ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.'
|
||||
ExecStart=-/sbin/sulogin
|
||||
|
Loading…
Reference in New Issue
Block a user