summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_wizards.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_shaper_wizards.php')
-rwxr-xr-xusr/local/www/firewall_shaper_wizards.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/local/www/firewall_shaper_wizards.php b/usr/local/www/firewall_shaper_wizards.php
index e1a5532..69c3dd2 100755
--- a/usr/local/www/firewall_shaper_wizards.php
+++ b/usr/local/www/firewall_shaper_wizards.php
@@ -27,6 +27,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-wizard
@@ -35,11 +39,11 @@
##|*MATCH=firewall_shaper_wizards.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