Add compatibility with the previous updatedd nvram configuration, closes #495, #749
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 13 Sep 2006 07:06:35 +0000 (07:06 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 13 Sep 2006 07:06:35 +0000 (07:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4783 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/updatedd/files/S55ddns

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