summaryrefslogtreecommitdiff
path: root/units/fedora
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-09 04:37:13 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-09 04:37:13 +0200
commit455bb5a4bdd03d77af72d810ddc22c85a353d2e4 (patch)
tree740404011a5d83973b6ee2752e42c291589910fd /units/fedora
parent4627d39661ffcdd11e814650dfcc9ac3d0d0ec0b (diff)
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
Diffstat (limited to 'units/fedora')
-rw-r--r--units/fedora/halt.service1
-rw-r--r--units/fedora/killall.service1
-rw-r--r--units/fedora/poweroff.service1
-rw-r--r--units/fedora/reboot.service1
4 files changed, 4 insertions, 0 deletions
diff --git a/units/fedora/halt.service b/units/fedora/halt.service
index 106ac6b691..b957a3fe30 100644
--- a/units/fedora/halt.service
+++ b/units/fedora/halt.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=INIT_HALT=HALT RUNLEVEL=0
ExecStart=/etc/init.d/halt start
+StandardInput=tty
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 8ccbbcea8e..876227697b 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -15,3 +15,4 @@ OnlyByDependency=yes
Type=finish
ValidNoProcess=yes
ExecStart=/etc/init.d/killall start
+StandardInput=tty
diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service
index 2149dbf6db..76d030c041 100644
--- a/units/fedora/poweroff.service
+++ b/units/fedora/poweroff.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/init.d/halt start
+StandardInput=tty
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 31aa74e141..6a93c0b557 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=6
ExecStart=/etc/init.d/reboot start
+StandardInput=tty