diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-28 19:13:10 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-28 19:13:10 +0000 |
commit | 7798b5ebb66e503fea0530281b1542d9b0df36a7 (patch) | |
tree | aa6d1fc29b57d4ff0d83f91bd8eec8f1672448ee /usr/local/www/status_queues.php | |
parent | 3a9ba28f0edd5114db1d2ebff80c3fd9bd466b19 (diff) | |
download | pfsense-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-x | usr/local/www/status_queues.php | 10 |
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 |