From: Lennart Poettering Date: Tue, 26 Oct 2010 00:58:59 +0000 (+0200) Subject: units: now that we don't set TERM anymore by default, make sure to pass it to our... X-Git-Tag: v12~154 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f36328f55dfc7942b7db74271206d0c60c48799;p=systemd units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions --- diff --git a/units/emergency.service b/units/emergency.service index 5910ec9b..e0567825 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 550df1ef..f4942372 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