Add compatibility with the previous updatedd nvram configuration, closes #495, #749

git-svn-id: svn://svn.openwrt.org/openwrt/packages@4783 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2006-09-13 07:06:35 +00:00
parent 1469aaba6f
commit eec7673253

View File

@ -1,3 +1,6 @@
#!/bin/sh
. /etc/nvram.sh
ddnsupdate=$(nvram get ddns_update)
[ "$ddnsupdate" = 1 ]&& {
service=$(nvram get ddns_service)