diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-10 16:53:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-10 17:11:48 +0200 |
commit | 739848d4f353288e4ed0abfcb894d581235c4c60 (patch) | |
tree | b763b20e30872bd19ea01bb9d9699eeb906e8e04 /units | |
parent | f27dcdcaa098f83b14d41af930eea71044550677 (diff) |
units: set HOME=/root when running shells
Diffstat (limited to 'units')
-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 |