Openwrt/openwrt/package/updatedd/files/S55ddns
Waldemar Brodkorb 32ffd49fa1 add package from tonym, thx
SVN-Revision: 1879
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
}