chiark / gitweb /
exec: automatically determine right TERM= setting based on tty name
[elogind.git] / units / rescue.service.m4
index d173bebabce134ee36183b9b1b70fe6dfa08244d..6e03c20d80b8afaf6e2cef9918e4f05e4a9d58d5 100644 (file)
@@ -16,13 +16,12 @@ Before=shutdown.target
 
 [Service]
 Environment=HOME=/root
-Environment=TERM=vt100-nav
 WorkingDirectory=/root
 ExecStartPre=-/bin/plymouth --hide-splash
 ExecStartPre=-/bin/echo 'Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.'
 m4_ifdef(`TARGET_FEDORA',
 `EnvironmentFile=/etc/sysconfig/init
-ExecStart=-/bin/bash -c "exec $SINGLE"',
+ExecStart=-/bin/bash -c "exec ${SINGLE}"',
 `ExecStart=-/sbin/sulogin')
 ExecStopPost=/bin/systemctl default
 StandardInput=tty-force