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