diff options
author | Ermal <eri@pfsense.org> | 2012-12-17 22:08:04 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-12-17 22:08:04 +0000 |
commit | 491652bf07b25977fd4a424219a14602f6e07956 (patch) | |
tree | ec1edc78d74dfae96e3dbb1fed266f81d2792a4e /etc/inc/interfaces.inc | |
parent | 553abb0d841f3937479ad7d02f67c08a244cbfe5 (diff) | |
download | pfsense-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.inc | 3 |
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; |