summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.update
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-21 17:31:55 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-21 17:31:55 +0000
commit771df54ef12e43bbdc9b38567135f95f98d96945 (patch)
tree2ed940b1ab0db01616d8979506c26d80db1f551f /etc/rc.dyndns.update
parent2ec2a374685c2141f4825097057a0496a4d45bc3 (diff)
downloadpfsense-771df54ef12e43bbdc9b38567135f95f98d96945.zip
pfsense-771df54ef12e43bbdc9b38567135f95f98d96945.tar.gz
More fine grained update of dyndns and dnsupdate.
Diffstat (limited to 'etc/rc.dyndns.update')
-rwxr-xr-xetc/rc.dyndns.update2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.dyndns.update b/etc/rc.dyndns.update
index 87c6af9..a84cadd 100755
--- a/etc/rc.dyndns.update
+++ b/etc/rc.dyndns.update
@@ -36,7 +36,7 @@ require_once("shaper.inc");
/* Interface IP address has changed */
-$argument = str_replace("\n", "", $argv[1]);
+$argument = trim($argv[1], " \n");
if(empty($argument))
services_dyndns_configure();
OpenPOWER on IntegriCloud