diff options
-rw-r--r-- | units/emergency.service | 1 | ||||
-rw-r--r-- | units/fedora/single.service | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service index 4a1e31ac7f..eafbf01c1f 100644 --- a/units/emergency.service +++ b/units/emergency.service @@ -12,6 +12,7 @@ Description=Emergency Shell DefaultDependencies=no [Service] +Environment=HOME=/root ExecStartPre=-/bin/plymouth --hide-splash ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" to activate default mode.' ExecStart=-/sbin/sulogin diff --git a/units/fedora/single.service b/units/fedora/single.service index 2eba886ad8..6205b79ce3 100644 --- a/units/fedora/single.service +++ b/units/fedora/single.service @@ -15,6 +15,7 @@ After=sysinit.target Before=multi-user.target [Service] +Environment=HOME=/root ExecStartPre=-/bin/plymouth --hide-splash ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" to activate default mode.' ExecStart=-/sbin/sulogin |