diff options
Diffstat (limited to 'package/updatedd/files/S55ddns')
-rw-r--r-- | package/updatedd/files/S55ddns | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/updatedd/files/S55ddns b/package/updatedd/files/S55ddns new file mode 100644 index 0000000000..b02d579178 --- /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 +} + |