summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_vinterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_shaper_vinterface.php')
-rw-r--r--usr/local/www/firewall_shaper_vinterface.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php
index 42f263e..3a27bb5 100644
--- a/usr/local/www/firewall_shaper_vinterface.php
+++ b/usr/local/www/firewall_shaper_vinterface.php
@@ -28,6 +28,10 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+/*
+ pfSense_BUILDER_BINARIES: /usr/bin/killall
+ pfSense_MODULE: shaper
+*/
##|+PRIV
##|*IDENT=page-firewall-trafficshaper-limiter
@@ -36,11 +40,11 @@
##|*MATCH=firewall_shaper_vinterface.php*
##|-PRIV
-
require("guiconfig.inc");
if($_GET['reset'] <> "") {
- mwexec("killall -9 pfctl php");
+ /* XXX: Huh, why are we killing php? */
+ mwexec("/usr/bin/killall -9 pfctl php");
exit;
}
OpenPOWER on IntegriCloud