diff options
author | Ermal <eri@pfsense.org> | 2011-02-10 21:36:55 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-02-10 21:36:55 +0000 |
commit | e35d6cda60a6a9931485ee9d7a4efe8aea7d315b (patch) | |
tree | 653f82a6e32d3c7c542036cd0a41433599ba1e1f | |
parent | 8c5df70558fa0b21bacd543c0e33275da5a9b908 (diff) | |
download | pfsense-e35d6cda60a6a9931485ee9d7a4efe8aea7d315b.zip pfsense-e35d6cda60a6a9931485ee9d7a4efe8aea7d315b.tar.gz |
There is no need to call the script to reconfigure CP here. Even more when it breaks all kind of things.
-rw-r--r-- | etc/inc/captiveportal.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 5518dee..e6fa70f 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1082,10 +1082,10 @@ function setup_dnsfilter_entries() { $cp_filterdns_conf = ""; if (is_array($config['captiveportal']['allowedhostname'])) { foreach ($config['captiveportal']['allowedhostname'] as $hostnameent) { - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 3 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 4 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 7 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 8 '/etc/rc.captiveportal_configure'\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 3\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 4\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 7\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 8\n"; } } file_put_contents($cp_filterdns_filename, $cp_filterdns_conf); |