From 1e7eadd2442d3ab93c411e9d7c0dff66cdffedaf Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Thu, 6 Nov 2008 14:26:02 +0000 Subject: [PATCH] Surpress unloading ipfw message --- etc/inc/captiveportal.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index c41894dcb1..49e2ba1540 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -276,7 +276,7 @@ EOD; } } if($installed_time_based_rules == false) - mwexec("/sbin/kldunload ipfw"); + mwexec("/sbin/kldunload ipfw", true); } else { /* shaper is on - just remove our rules */ mwexec("/sbin/ipfw -f delete set 1"); @@ -1120,4 +1120,4 @@ function portal_mac_fixed($clientmac) { return FALSE ; } -?> \ No newline at end of file +?>