diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-09-02 20:19:54 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-09-02 20:19:54 +0000 |
commit | a30782f35c8c7f7bb75766717045c1a5b2d485ad (patch) | |
tree | 8a686417205722409838ff628f3f5a762a322cd7 /etc/inc/gwlb.inc | |
parent | d97e6033ae9b43e1c123dac70abd56d3e88d2ad9 (diff) | |
download | pfsense-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/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 5 |
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 */ |