mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-04 08:27:48 +00:00
openssh: shutdown openssh on reboot/poweroff
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
5ee94a6324
commit
fd6978b268
@ -78,5 +78,7 @@ case $RUNLEVEL in
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
progress "Stopping SSH Server"
|
||||
killall sshd
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user