use internal server unless specified, closes #7041
authorTravis Kemen <thepeople@openwrt.org>
Fri, 2 Apr 2010 13:34:03 +0000 (13:34 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Fri, 2 Apr 2010 13:34:03 +0000 (13:34 +0000)
SVN-Revision: 20654

net/ez-ipupdate/files/ez-ipupdate.hotplug

index a5e99bd..8f924f1 100644 (file)
@@ -47,7 +47,7 @@ case "$ACTION" in
                                            config_get server   $cfg server
                                            cat > $config <<EOF
 service-type=$service
-server=$server
+${server:+server=$server}
 user=$username:$password
 host=$hostname
 cache-file=$cache