diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc index b44fac1c06..dfd54f8d43 100644 --- a/etc/inc/vslb.inc +++ b/etc/inc/vslb.inc @@ -137,8 +137,9 @@ function slbd_configure() { /* startup slbd pointing it's config at /var/etc/slbd.conf with a polling interval of 5 seconds */ mwexec("/usr/local/sbin/slbd -c{$g['varetc_path']}/slbd.conf -r5000"); } else { + mwexec("/usr/bin/killall -9 slbd"); fclose($fd); } } -?> \ No newline at end of file +?>