Port updatedd to -ng
[openwrt/svn-archive/archive.git] / net / updatedd / files / S55ddns
1 ddnsupdate=$(nvram get ddns_update)
2 [ "$ddnsupdate" = 1 ]&& {
3 service=$(nvram get ddns_service)
4 uname=$(nvram get ddns_user)
5 passwd=$(nvram get ddns_password)
6 host=$(nvram get ddns_host)
7
8 /usr/bin/updatedd -Y $service -- $uname:$passwd $host
9 }
10