Commit 590f006d authored by Ad Schellevis's avatar Ad Schellevis

cleanup configd commands (dyndns)

parent 9a0c0741
......@@ -3169,7 +3169,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
services_unbound_configure();
/* update dyndns */
configd_run("service reload dyndns {$interface}");
configd_run("dyndns reload {$interface}");
/* XXX: which CPZONE? Needed? */
/* reload captive portal */
......
......@@ -286,7 +286,7 @@ services_dhcrelay_configure();
services_dhcrelay6_configure();
/* dyndns service updates */
configd_run("service reload dyndnsall");
configd_run("dyndns reload all");
/* Run a filter configure now that most all services have started */
filter_configure_sync();
......
[reload]
command:/usr/local/etc/rc.dyndns.update
parameters:%s
type:script
message:updating dyndns %s
......@@ -28,18 +28,6 @@ parameters:%s
type:script
message:Restarting OpenVPN tunnels/interfaces %s
[reload|restart.dyndns]
command:/usr/local/etc/rc.dyndns.update
parameters:%s
type:script
message:updating dyndns %s
[reload|restart.dyndnsall]
command:/usr/local/etc/rc.dyndns.update
parameters:
type:script
message:Updating all dyndns
[reload|restart.ntpd]
command:/usr/bin/killall ntpd; /bin/sleep 3; /usr/local/sbin/ntpd -s -f /var/etc/ntpd.conf
parameters:
......
......@@ -59,7 +59,7 @@ if ($_POST) {
$retval = system_routing_configure();
configd_run('service reload dyndnsall');
configd_run('dyndns reload all');
configd_run('service reload ipsecdns');
configd_run('filter reload');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment