summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-28 19:13:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-28 19:13:10 +0000
commit7798b5ebb66e503fea0530281b1542d9b0df36a7 (patch)
treeaa6d1fc29b57d4ff0d83f91bd8eec8f1672448ee /usr/local/www/status_queues.php
parent3a9ba28f0edd5114db1d2ebff80c3fd9bd466b19 (diff)
downloadpfsense-7798b5ebb66e503fea0530281b1542d9b0df36a7.zip
pfsense-7798b5ebb66e503fea0530281b1542d9b0df36a7.tar.gz
Don't kill php, it sends bad signals to fast-cgi resulting in the fast-cgi process only returning 500 errors.
Diffstat (limited to 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index f86be3d..188bd38 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -32,7 +32,7 @@
require("guiconfig.inc");
if($_GET['reset'] <> "") {
- mwexec("killall pfctl pfctl");
+ mwexec("killall pfctl");
Header("Location: status_queues.php");
exit;
}
@@ -136,7 +136,7 @@ While(!Connection_Aborted()) {
$i = 0;
foreach($stats_array as $stats_line) {
if($stat_line_split[2] == "" and $counter > 1) {
- mwexec("/usr/bin/killall pfctl php");
+ mwexec("/usr/bin/killall pfctl");
exit;
}
@@ -174,12 +174,12 @@ While(!Connection_Aborted()) {
echo "Redirecting to <a href=\"status_queues.php\">Queue Status</a>.<p>";
echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['PHP_SELF']}\">";
mwexec("/usr/bin/killall pfctl");
- mwexec("/usr/bin/killall pfctl php");
+ mwexec("/usr/bin/killall pfctl");
exit;
}
}
-mwexec("/usr/bin/killall pfctl pfctl");
-mwexec("/usr/bin/killall pfctl php");
+mwexec("/usr/bin/killall pfctl");
+mwexec("/usr/bin/killall pfctl");
?> \ No newline at end of file
OpenPOWER on IntegriCloud