summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/stop/pre/S30samba-stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hook-scripts/stop/pre/S30samba-stop.sh')
-rwxr-xr-xextras/hook-scripts/stop/pre/S30samba-stop.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hook-scripts/stop/pre/S30samba-stop.sh b/extras/hook-scripts/stop/pre/S30samba-stop.sh
index 8950eea436e..62cf7d1e0d2 100755
--- a/extras/hook-scripts/stop/pre/S30samba-stop.sh
+++ b/extras/hook-scripts/stop/pre/S30samba-stop.sh
@@ -61,7 +61,7 @@ function sighup_samba () {
then
kill -HUP $pid;
else
- /etc/init.d/smb condrestart
+ service smb condrestart
fi
}