1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 15:59:43 +02:00
openwrt-xburst/package/updatedd/files/S55ddns
wbx 1ecc7cfed4 add package from tonym, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-09-08 08:10:57 +00:00

11 lines
250 B
Plaintext

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
}