summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-12-17 22:08:04 +0000
committerErmal <eri@pfsense.org>2012-12-17 22:08:04 +0000
commit491652bf07b25977fd4a424219a14602f6e07956 (patch)
treeec1edc78d74dfae96e3dbb1fed266f81d2792a4e /etc/inc/interfaces.inc
parent553abb0d841f3937479ad7d02f67c08a244cbfe5 (diff)
downloadpfsense-491652bf07b25977fd4a424219a14602f6e07956.zip
pfsense-491652bf07b25977fd4a424219a14602f6e07956.tar.gz
Put the CP call during reload of interface under function_exists its not fatal and in some scripts captiveportal might not be included
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 75058ff..7b12d02 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1022,7 +1022,8 @@ function interfaces_configure() {
services_dnsmasq_configure();
/* reload captive portal */
- captiveportal_init_rules();
+ if (function_exists('captiveportal_init_rules'))
+ captiveportal_init_rules();
}
return 0;
OpenPOWER on IntegriCloud