xbmc: init: no need to kill sshd on poweroff/reboot, handled by safe_shutdown

This commit is contained in:
Stefan Saraev 2013-07-07 19:17:04 +03:00
parent 35d9d7350e
commit 5617ad7b83

View File

@ -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
;;