From 739848d4f353288e4ed0abfcb894d581235c4c60 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 10 Sep 2010 16:53:53 +0200 Subject: units: set HOME=/root when running shells --- units/emergency.service | 1 + 1 file changed, 1 insertion(+) (limited to 'units/emergency.service') 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 -- cgit v1.2.3-54-g00ecf