summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-27 05:45:09 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-27 05:45:09 +0200
commit4690698d4949d8b42e4c3a87944075ceaf685e5a (patch)
tree00079cc1ebb8479091a258aae85053740dbb50ff /units/fedora
parent4fbf50b38e847aaa2932ac542e20c62f0c1605a3 (diff)
units: run sysv related scripts with TERM=linux
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/halt-local.service1
-rw-r--r--units/fedora/rc-local.service1
-rw-r--r--units/fedora/sysinit.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/fedora/halt-local.service b/units/fedora/halt-local.service
index 79f8f12b7d..855924aec6 100644
--- a/units/fedora/halt-local.service
+++ b/units/fedora/halt-local.service
@@ -14,6 +14,7 @@ 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 564969c792..fb276945bf 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -15,6 +15,7 @@ Names=rc-local.service local.service
[Service]
Type=forking
+Environment=TERM=linux
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
diff --git a/units/fedora/sysinit.service b/units/fedora/sysinit.service
index 5e2846299a..9e83baa2be 100644
--- a/units/fedora/sysinit.service
+++ b/units/fedora/sysinit.service
@@ -13,6 +13,7 @@ After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=shutdown.target emergency.service emergency.target
[Service]
+Environment=TERM=linux
ExecStart=/etc/rc.d/rc.sysinit
Type=forking
TimeoutSec=0