mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
samba: shutdown samba on reboot/poweroff
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -52,5 +52,8 @@ case $RUNLEVEL in
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
progress "Stopping Samba server"
|
||||
killall nmbd
|
||||
killall smbd
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user