mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
0)
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
killall sshd
|
||||
_safe_shutdown poweroff
|
||||
poweroff -f
|
||||
;;
|
||||
64)
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
killall sshd
|
||||
_safe_shutdown poweroff
|
||||
poweroff -f
|
||||
;;
|
||||
66)
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
killall sshd
|
||||
_safe_shutdown reboot
|
||||
reboot
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user