summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.update
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.dyndns.update')
-rwxr-xr-xetc/rc.dyndns.update7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/rc.dyndns.update b/etc/rc.dyndns.update
index a84cadd..557113c 100755
--- a/etc/rc.dyndns.update
+++ b/etc/rc.dyndns.update
@@ -38,9 +38,12 @@ require_once("shaper.inc");
$argument = trim($argv[1], " \n");
-if(empty($argument))
+if(empty($argument)) {
services_dyndns_configure();
-else
+ services_dnsupdate_process();
+} else {
services_dyndns_configure($argument);
+ services_dnsupdate_process($argument);
+}
?>
OpenPOWER on IntegriCloud