diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-08 08:10:57 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-08 08:10:57 +0000 |
commit | 1ecc7cfed4ef700df218fc03bb1eb2cc3168f377 (patch) | |
tree | 61b60fa90a511e0e7fb5452e4ff3c19f5d11a10f /package/updatedd/files | |
parent | fd05f6ac7cd4c0304a973e54ce3e442ab5a48f12 (diff) |
add package from tonym, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1879 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/updatedd/files')
-rw-r--r-- | package/updatedd/files/S55ddns | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/updatedd/files/S55ddns b/package/updatedd/files/S55ddns new file mode 100644 index 000000000..b02d57917 --- /dev/null +++ b/package/updatedd/files/S55ddns @@ -0,0 +1,10 @@ +ddnsupdate=$(nvram get ddns_update) +[ "$ddnsupdate" = 1 ]&& { + service=$(nvram get ddns_service) + uname=$(nvram get ddns_user) + passwd=$(nvram get ddns_password) + host=$(nvram get ddns_host) + + /usr/bin/updatedd -Y $service -- $uname:$passwd $host +} + |