summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.update
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-12-07 18:25:37 +0000
committerErmal <eri@pfsense.org>2010-12-07 18:25:37 +0000
commit422bc2a7f3f4bf5a922a23575b6499225d1a166d (patch)
treea6dc4c8694609d52344de3b82ee607f33b033d4f /etc/rc.dyndns.update
parent8c41a3e42d36ea921e9fe0c5c0a61870b55758f4 (diff)
downloadpfsense-422bc2a7f3f4bf5a922a23575b6499225d1a166d.zip
pfsense-422bc2a7f3f4bf5a922a23575b6499225d1a166d.tar.gz
Move all dynamic dns update processes under the same even 'reload dyndns' since it makes sense to do so.
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