mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
xbmc: init: no need to kill sshd on poweroff/reboot, handled by safe_shutdown
This commit is contained in:
parent
35d9d7350e
commit
5617ad7b83
@ -112,19 +112,16 @@ fi
|
|||||||
case "$RET" in
|
case "$RET" in
|
||||||
0)
|
0)
|
||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
killall sshd
|
|
||||||
_safe_shutdown poweroff
|
_safe_shutdown poweroff
|
||||||
poweroff -f
|
poweroff -f
|
||||||
;;
|
;;
|
||||||
64)
|
64)
|
||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
killall sshd
|
|
||||||
_safe_shutdown poweroff
|
_safe_shutdown poweroff
|
||||||
poweroff -f
|
poweroff -f
|
||||||
;;
|
;;
|
||||||
66)
|
66)
|
||||||
touch "$LOCKDIR/$LOCKFILE"
|
touch "$LOCKDIR/$LOCKFILE"
|
||||||
killall sshd
|
|
||||||
_safe_shutdown reboot
|
_safe_shutdown reboot
|
||||||
reboot
|
reboot
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user