openssh: shutdown openssh on reboot/poweroff

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-08 04:27:00 +02:00
parent 5ee94a6324
commit fd6978b268

View File

@ -78,5 +78,7 @@ case $RUNLEVEL in
;; ;;
poweroff|reboot) poweroff|reboot)
progress "Stopping SSH Server"
killall sshd
;; ;;
esac esac