summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-09-02 20:19:54 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-09-02 20:19:54 +0000
commita30782f35c8c7f7bb75766717045c1a5b2d485ad (patch)
tree8a686417205722409838ff628f3f5a762a322cd7 /etc
parentd97e6033ae9b43e1c123dac70abd56d3e88d2ad9 (diff)
downloadpfsense-a30782f35c8c7f7bb75766717045c1a5b2d485ad.zip
pfsense-a30782f35c8c7f7bb75766717045c1a5b2d485ad.tar.gz
Remove sleep
Make sure our tmp has the correct permission so we can trigger filter reloads.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index c0c5857..3e8ed68 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -157,10 +157,9 @@ EOD;
fwrite($fd, $apingerconfig);
fclose($fd);
- sleep(3);
if(!is_process_running("apinger")) {
- if (is_dir("{$g['vardb_path']}/rrd"))
- chown("{$g['vardb_path']}/rrd", "nobody");
+ if (is_dir("{$g['tmp_path']}"))
+ chmod("{$g['tmp_path']}", 1777);
if (is_dir("{$g['vardb_path']}/rrd"))
chgrp("{$g['vardb_path']}/rrd", "nobody");
/* start a new apinger process */
OpenPOWER on IntegriCloud