summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-01 17:37:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-01 17:37:38 +0000
commit4eaaea87b89a305dcbab4789c24bd252652827b8 (patch)
treeee4ed18233360efb7a574d72ffa9ac74fcb0c887 /etc/inc/vslb.inc
parent12fea2f7a4cbcd16077b84f852b05ca2659db68c (diff)
downloadpfsense-4eaaea87b89a305dcbab4789c24bd252652827b8.zip
pfsense-4eaaea87b89a305dcbab4789c24bd252652827b8.tar.gz
Sleep for 2 seconds between restarting slbd
Diffstat (limited to 'etc/inc/vslb.inc')
-rw-r--r--etc/inc/vslb.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index d107306..5a5979e 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -144,6 +144,7 @@ function slbd_configure() {
fwrite($fd, $slbdconf);
fclose($fd);
mwexec("/usr/bin/killall -9 slbd");
+ sleep(2);
/* 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 {
@@ -152,4 +153,4 @@ function slbd_configure() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud