add server option, closes #4816

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19867 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
thepeople 2010-02-26 05:01:18 +00:00
parent e210b3ed39
commit 09aa8fc3cb

View File

@ -44,8 +44,10 @@ case "$ACTION" in
config_get password $cfg password
config_get hostname $cfg hostname
service=${service:-"dyndns"}
config_get server $cfg server
cat > $config <<EOF
service-type=$service
server=$server
user=$username:$password
host=$hostname
cache-file=$cache