summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-24 20:07:21 +0000
committerErmal <eri@pfsense.org>2014-03-24 20:07:21 +0000
commit3b68d29cb2211b05bec638ce1f8357b88a2ce5b3 (patch)
tree6088c06ad46a0f605d80f8c919f9a788145796df /etc
parent9183e80cb08591b87cb5bbd2558ec7259f413945 (diff)
downloadpfsense-3b68d29cb2211b05bec638ce1f8357b88a2ce5b3.zip
pfsense-3b68d29cb2211b05bec638ce1f8357b88a2ce5b3.tar.gz
Somehow these got changed to /usr/local/sbin/ipfw instead of /sbin/ipfw
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 3906e16..c3b72e4 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -367,7 +367,7 @@ EOD;
/* Release allocated pipes for this zone */
captiveportal_free_dnrules();
- mwexec("/usr/local/sbin/ipfw zone {$cpzoneid} destory", true);
+ mwexec("/sbin/ipfw zone {$cpzoneid} destory", true);
if (empty($config['captiveportal']))
mwexec("/sbin/sysctl net.link.ether.ipfw=0");
@@ -464,7 +464,7 @@ function captiveportal_init_rules($reinit = false) {
return;
captiveportal_load_modules();
- mwexec("/usr/local/sbin/ipfw zone {$cpzoneid} create", true);
+ mwexec("/sbin/ipfw zone {$cpzoneid} create", true);
$cpips = array();
$ifaces = get_configured_interface_list();
@@ -481,7 +481,7 @@ function captiveportal_init_rules($reinit = false) {
if (!empty($carpif)) {
$carpsif = explode(" ", $carpif);
foreach ($carpsif as $cpcarp) {
- mwexec("/usr/local/sbin/ipfw zone {$cpzoneid} madd {$cpcarp}", true);
+ mwexec("/sbin/ipfw zone {$cpzoneid} madd {$cpcarp}", true);
$carpip = find_interface_ip($cpcarp);
if (is_ipaddr($carpip))
$cpips[] = $carpip;
@@ -489,7 +489,7 @@ function captiveportal_init_rules($reinit = false) {
}
$cpips[] = $cpipm;
}
- mwexec("/usr/local/sbin/ipfw zone {$cpzoneid} madd {$tmpif}", true);
+ mwexec("/sbin/ipfw zone {$cpzoneid} madd {$tmpif}", true);
}
}
if (count($cpips) > 0) {
OpenPOWER on IntegriCloud