units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions

This commit is contained in:
Lennart Poettering 2010-10-26 02:58:59 +02:00
parent 9865f3b4ca
commit 5f36328f55
2 changed files with 2 additions and 0 deletions

View File

@ -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.'

View File

@ -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