summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-25 21:32:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-25 21:32:56 +0000
commit482b5d349df9797c90d229ce589451f23b2c193d (patch)
tree3c91a8930a6486f3b8513c147ad0ae5b562cd2bb /etc
parent1331005d4f4c6861dac1cf6a6e716660df316552 (diff)
downloadpfsense-482b5d349df9797c90d229ce589451f23b2c193d.zip
pfsense-482b5d349df9797c90d229ce589451f23b2c193d.tar.gz
MFC 7164
Load dyndns.class when needed only.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 049cc28..b6f9275 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -31,7 +31,6 @@
/* include all configuration functions */
require_once("functions.inc");
-require_once("dyndns.class");
function services_dhcpd_configure() {
global $config, $g;
@@ -411,6 +410,9 @@ function services_dyndns_configure() {
return;
}
}
+
+ /* load up the dyndns.class */
+ require_once("dyndns.class");
$dns = new updatedns($dnsService = $config['dyndns']['type'],
$dnsHost = $config['dyndns']['host'],
@@ -1118,4 +1120,4 @@ EOD;
mwexec_bg("/usr/local/sbin/olsrd -f {$g['varetc_path']}/{$interface}_olsr.conf");
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud