From 1ecc7cfed4ef700df218fc03bb1eb2cc3168f377 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/openwrt@1879 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/updatedd/files/S55ddns | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/updatedd/files/S55ddns (limited to 'package/updatedd/files') 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 +} + -- cgit v1.2.3