1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 14:28:26 +02:00
openwrt-xburst/package/updatedd/files/S55ddns

11 lines
250 B
Plaintext
Raw Normal View History

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
}