units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
This commit is contained in:
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=6
|
||||
ExecStart=/etc/rc.shutdown
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -15,3 +15,4 @@ OnlyByDependency=yes
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/killall start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RUNLEVEL=6
|
||||
ExecStart=/etc/init.d/reboot start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
|
||||
ExecStart=/etc/init.d/shutdown.sh
|
||||
StandardInput=tty
|
||||
|
||||
@@ -15,3 +15,4 @@ OnlyByDependency=yes
|
||||
Type=finish
|
||||
ValidNoProcess=yes
|
||||
ExecStart=/etc/init.d/killprocs start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=RC_DOWN_HARDDISK=yes
|
||||
ExecStart=/etc/init.d/shutdown.sh
|
||||
StandardInput=tty
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,3 +17,4 @@ Type=finish
|
||||
ValidNoProcess=yes
|
||||
Environment=INIT_HALT=HALT RUNLEVEL=0
|
||||
ExecStart=/etc/init.d/halt start
|
||||
StandardInput=tty
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user