summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-26 02:58:59 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-26 02:58:59 +0200
commit5f36328f55dfc7942b7db74271206d0c60c48799 (patch)
tree6893e003eaca7f72ba77e1c469768fb219a6b487
parent9865f3b4cacabf78ddfdca5973c44cecbbf3d2a5 (diff)
units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions
-rw-r--r--units/emergency.service1
-rw-r--r--units/fedora/single.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/emergency.service b/units/emergency.service
index 5910ec9b91..e05678255b 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -13,6 +13,7 @@ DefaultDependencies=no
[Service]
Environment=HOME=/root
+Environment=TERM=vt100-nav
WorkingDirectory=/root
ExecStartPre=-/bin/plymouth --hide-splash
ExecStartPre=-/bin/echo 'Welcome to emergency mode. Use "systemctl default" or ^D to activate default mode.'
diff --git a/units/fedora/single.service b/units/fedora/single.service
index 550df1ef60..f494237209 100644
--- a/units/fedora/single.service
+++ b/units/fedora/single.service
@@ -16,6 +16,7 @@ Before=multi-user.target
[Service]
Environment=HOME=/root
+Environment=TERM=vt100-nav
EnvironmentFile=/etc/sysconfig/init
WorkingDirectory=/root
ExecStartPre=-/bin/plymouth --hide-splash