]> err.no Git - systemd/commitdiff
units: run sysv related scripts with TERM=linux
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2010 03:45:09 +0000 (05:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2010 03:45:09 +0000 (05:45 +0200)
units/fedora/halt-local.service
units/fedora/rc-local.service
units/fedora/sysinit.service

index 79f8f12b7d2097bcb28d874801247e88a49d15f7..855924aec6b90fffd3bd80b004f115f4b3bd4745 100644 (file)
@@ -14,6 +14,7 @@ Before=final.target
 
 [Service]
 Type=oneshot
+Environment=TERM=linux
 ExecStart=/sbin/halt.local
 TimeoutSec=0
 StandardOutput=tty
index 564969c7922c796f1a5781f24b7b4690153ad3c7..fb276945bf6afac67df09b095e2b5c98551a4f6a 100644 (file)
@@ -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
index 5e2846299a6b6e64a239021eab6fcad0a1602348..9e83baa2be0e1e897fd62190f83607f047e4c656 100644 (file)
@@ -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