samba: shutdown samba on reboot/poweroff

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

View File

@ -52,5 +52,8 @@ case $RUNLEVEL in
;;
poweroff|reboot)
progress "Stopping Samba server"
killall nmbd
killall smbd
;;
esac