From 455bb5a4bdd03d77af72d810ddc22c85a353d2e4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 9 Jul 2010 04:37:13 +0200 Subject: units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise --- units/fedora/halt.service | 1 + units/fedora/killall.service | 1 + units/fedora/poweroff.service | 1 + units/fedora/reboot.service | 1 + 4 files changed, 4 insertions(+) (limited to 'units/fedora') 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 -- cgit v1.2.3-54-g00ecf