From d186db1599f143f35eaf074d407e5d0808fcae43 Mon Sep 17 00:00:00 2001 From: wbx Date: Thu, 8 Sep 2005 08:10:57 +0000 Subject: add package from tonym, thx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1879 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/updatedd/files/S55ddns | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openwrt/package/updatedd/files/S55ddns (limited to 'openwrt/package/updatedd/files') diff --git a/openwrt/package/updatedd/files/S55ddns b/openwrt/package/updatedd/files/S55ddns new file mode 100644 index 000000000..b02d57917 --- /dev/null +++ b/openwrt/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 +} + -- cgit v1.2.3