summaryrefslogtreecommitdiff
path: root/units/arch
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/arch
parent4627d39661ffcdd11e814650dfcc9ac3d0d0ec0b (diff)
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
Diffstat (limited to 'units/arch')
-rw-r--r--units/arch/halt.service1
-rw-r--r--units/arch/poweroff.service1
-rw-r--r--units/arch/reboot.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/units/arch/halt.service b/units/arch/halt.service
index 96553f1ad4..87224e34b6 100644
--- a/units/arch/halt.service
+++ b/units/arch/halt.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
+StandardInput=tty
diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service
index d6e42e1a4b..ffa592c8f6 100644
--- a/units/arch/poweroff.service
+++ b/units/arch/poweroff.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
+StandardInput=tty
diff --git a/units/arch/reboot.service b/units/arch/reboot.service
index b2c18842ff..934903dc6b 100644
--- a/units/arch/reboot.service
+++ b/units/arch/reboot.service
@@ -17,3 +17,4 @@ Type=finish
ValidNoProcess=yes
Environment=RUNLEVEL=6
ExecStart=/etc/rc.shutdown
+StandardInput=tty