units: connect shutdown scripts explicitly with the tty, because native units now...
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Jul 2010 02:37:13 +0000 (04:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Jul 2010 02:37:13 +0000 (04:37 +0200)
14 files changed:
units/arch/halt.service
units/arch/poweroff.service
units/arch/reboot.service
units/fedora/halt.service
units/fedora/killall.service
units/fedora/poweroff.service
units/fedora/reboot.service
units/gentoo/halt.service
units/gentoo/killall.service
units/gentoo/poweroff.service
units/gentoo/reboot.service
units/suse/halt.service
units/suse/poweroff.service
units/suse/reboot.service

index 96553f1..87224e3 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
+StandardInput=tty
index d6e42e1..ffa592c 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/rc.shutdown
+StandardInput=tty
index b2c1884..934903d 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=6
 ExecStart=/etc/rc.shutdown
+StandardInput=tty
index 106ac6b..b957a3f 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=INIT_HALT=HALT RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardInput=tty
index 8ccbbce..8762276 100644 (file)
@@ -15,3 +15,4 @@ OnlyByDependency=yes
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/killall start
+StandardInput=tty
index 2149dbf..76d030c 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardInput=tty
index 31aa74e..6a93c0b 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RUNLEVEL=6
 ExecStart=/etc/init.d/reboot start
+StandardInput=tty
index 56ac493..19ead8a 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty
index ce4d99e..fb4b988 100644 (file)
@@ -15,3 +15,4 @@ OnlyByDependency=yes
 Type=finish
 ValidNoProcess=yes
 ExecStart=/etc/init.d/killprocs start
+StandardInput=tty
index 2ae1fd7..9ceb205 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=RC_DOWN_HARDDISK=yes
 ExecStart=/etc/init.d/shutdown.sh
+StandardInput=tty
index 353fb4b..c223e6c 100644 (file)
@@ -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
index 40d58b3..54586c4 100644 (file)
@@ -17,3 +17,4 @@ Type=finish
 ValidNoProcess=yes
 Environment=INIT_HALT=HALT RUNLEVEL=0
 ExecStart=/etc/init.d/halt start
+StandardInput=tty
index 3da6cf1..cb90874 100644 (file)
@@ -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
index 902648c..1ccaceb 100644 (file)
@@ -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