mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
MFC 7164
Load dyndns.class when needed only.
This commit is contained in:
parent
1331005d4f
commit
482b5d349d
@ -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");
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user