summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-15 23:49:02 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-15 23:49:02 +0100
commite3aa71c38cbecb24e6333411ee19814796a5b1d0 (patch)
tree5ae80b4fcbf3bc4f93e3905cecab2fc40f1cb1da /units
parent96a8cbfae1b37cf0a9c0591bfef93f9de1561bc4 (diff)
exec: automatically determine right TERM= setting based on tty name
Diffstat (limited to 'units')
-rw-r--r--units/emergency.service1
-rw-r--r--units/fedora/halt-local.service1
-rw-r--r--units/fedora/rc-local.service1
-rw-r--r--units/getty@.service.m41
-rw-r--r--units/rescue.service.m41
-rw-r--r--units/serial-getty@.service.m41
6 files changed, 0 insertions, 6 deletions
diff --git a/units/emergency.service b/units/emergency.service
index 52f875c6f3..aa3d9856c0 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -15,7 +15,6 @@ Before=shutdown.target
[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/halt-local.service b/units/fedora/halt-local.service
index 855924aec6..79f8f12b7d 100644
--- a/units/fedora/halt-local.service
+++ b/units/fedora/halt-local.service
@@ -14,7 +14,6 @@ Before=final.target
[Service]
Type=oneshot
-Environment=TERM=linux
ExecStart=/sbin/halt.local
TimeoutSec=0
StandardOutput=tty
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index 88846c16f8..a21a5578c4 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -11,7 +11,6 @@ ConditionPathExists=/etc/rc.local
[Service]
Type=forking
-Environment=TERM=linux
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index 11a71d7168..d6bd9a9dbe 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -22,7 +22,6 @@ After=rc-local.service
Before=getty.target
[Service]
-Environment=TERM=linux
ExecStart=-/sbin/agetty %I 38400
Restart=always
RestartSec=0
diff --git a/units/rescue.service.m4 b/units/rescue.service.m4
index d31282d37e..6e03c20d80 100644
--- a/units/rescue.service.m4
+++ b/units/rescue.service.m4
@@ -16,7 +16,6 @@ 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.'
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index da9bd1946b..d454dce468 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -22,7 +22,6 @@ After=rc-local.service
Before=getty.target
[Service]
-Environment=TERM=vt100-nav
m4_ifdef(`TARGET_FEDORA',
ExecStartPre=-/sbin/securetty %I
)m4_dnl