summaryrefslogtreecommitdiff
path: root/units/gentoo
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/gentoo
parent4627d39661ffcdd11e814650dfcc9ac3d0d0ec0b (diff)
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
Diffstat (limited to 'units/gentoo')
-rw-r--r--units/gentoo/halt.service1
-rw-r--r--units/gentoo/killall.service1
-rw-r--r--units/gentoo/poweroff.service1
-rw-r--r--units/gentoo/reboot.service1
4 files changed, 4 insertions, 0 deletions
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index 56ac493881..19ead8a315 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index ce4d99ef2e..fb4b988594 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -15,3 +15,4 @@ OnlyByDependency=yes
Type=finish
ValidNoProcess=yes
ExecStart=/etc/init.d/killprocs start
+StandardInput=tty
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index 2ae1fd7f29..9ceb205b05 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index 353fb4bfcb..c223e6c26f 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -16,3 +16,4 @@ Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.a
Type=finish
ValidNoProcess=yes
ExecStart=/etc/init.d/reboot.sh
+StandardInput=tty