diff options
author | Ermal <eri@pfsense.org> | 2010-12-07 18:25:37 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-07 18:25:37 +0000 |
commit | 422bc2a7f3f4bf5a922a23575b6499225d1a166d (patch) | |
tree | a6dc4c8694609d52344de3b82ee607f33b033d4f /etc/rc.dyndns.update | |
parent | 8c41a3e42d36ea921e9fe0c5c0a61870b55758f4 (diff) | |
download | pfsense-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-x | etc/rc.dyndns.update | 7 |
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); +} ?> |