From 4690698d4949d8b42e4c3a87944075ceaf685e5a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Oct 2010 05:45:09 +0200 Subject: [PATCH] units: run sysv related scripts with TERM=linux --- units/fedora/halt-local.service | 1 + units/fedora/rc-local.service | 1 + units/fedora/sysinit.service | 1 + 3 files changed, 3 insertions(+) diff --git a/units/fedora/halt-local.service b/units/fedora/halt-local.service index 79f8f12b7..855924aec 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 564969c79..fb276945b 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 5e2846299..9e83baa2b 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 -- 2.30.2