From: Lennart Poettering Date: Wed, 27 Oct 2010 03:45:09 +0000 (+0200) Subject: units: run sysv related scripts with TERM=linux X-Git-Tag: v12~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4690698d4949d8b42e4c3a87944075ceaf685e5a;p=thirdparty%2Fsystemd.git units: run sysv related scripts with TERM=linux --- diff --git a/units/fedora/halt-local.service b/units/fedora/halt-local.service index 79f8f12b7d2..855924aec6b 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 564969c7922..fb276945bf6 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 5e2846299a6..9e83baa2be0 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