summaryrefslogtreecommitdiff
path: root/units/suse
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/suse
parent4627d39661ffcdd11e814650dfcc9ac3d0d0ec0b (diff)
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
Diffstat (limited to 'units/suse')
-rw-r--r--units/suse/halt.service1
-rw-r--r--units/suse/poweroff.service1
-rw-r--r--units/suse/reboot.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/suse/halt.service b/units/suse/halt.service
index 40d58b36b..54586c420 100644
--- a/units/suse/halt.service
+++ b/units/suse/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/suse/poweroff.service b/units/suse/poweroff.service
index 3da6cf1ba..cb90874c3 100644
--- a/units/suse/poweroff.service
+++ b/units/suse/poweroff.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/halt start
+StandardInput=tty
diff --git a/units/suse/reboot.service b/units/suse/reboot.service
index 902648c50..1ccacebac 100644
--- a/units/suse/reboot.service
+++ b/units/suse/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 start
+StandardInput=tty