summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_showbogons.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-08-20 00:25:00 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-08-20 00:25:00 -0400
commitb089ad3aa0e3e774c1b5820b8ae2ae978df527b5 (patch)
tree557d6494266d1a0ac93e49786336d770a7c4e34d /usr/local/www/diag_showbogons.php
parentc54c2d23fd3af8d41a19f621d4819e2f905b1a52 (diff)
downloadpfsense-b089ad3aa0e3e774c1b5820b8ae2ae978df527b5.zip
pfsense-b089ad3aa0e3e774c1b5820b8ae2ae978df527b5.tar.gz
Do not sleep if /var/run/donotsleep_bogons exists. For some reason the first argument is not being passed when ran from webConfigurator
Diffstat (limited to 'usr/local/www/diag_showbogons.php')
-rw-r--r--usr/local/www/diag_showbogons.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_showbogons.php b/usr/local/www/diag_showbogons.php
index 9b22b95..5ee9055 100644
--- a/usr/local/www/diag_showbogons.php
+++ b/usr/local/www/diag_showbogons.php
@@ -37,7 +37,9 @@
require("guiconfig.inc");
if($_POST['Download']) {
+ exec("touch /var/run/donotsleep_bogons");
exec("/etc/rc.update_bogons.sh donotsleep");
+ exec("rm /var/run/donotsleep_bogons");
}
$bogons = `cat /etc/bogons`;
OpenPOWER on IntegriCloud