|
From: <abe...@us...> - 2014-05-11 21:30:52
|
Revision: 6522
http://sourceforge.net/p/astlinux/code/6522
Author: abelbeck
Date: 2014-05-11 21:30:48 +0000 (Sun, 11 May 2014)
Log Message:
-----------
dynamicdns, allow DDCLIENT=none to provide a simple method to disable Dynamic DNS without deleteing a working configuration
Modified Paths:
--------------
branches/1.0/package/inadyn/dynamicdns.init
branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
Modified: branches/1.0/package/inadyn/dynamicdns.init
===================================================================
--- branches/1.0/package/inadyn/dynamicdns.init 2014-05-10 17:46:43 UTC (rev 6521)
+++ branches/1.0/package/inadyn/dynamicdns.init 2014-05-11 21:30:48 UTC (rev 6522)
@@ -135,7 +135,7 @@
if [ "$DDCLIENT" = "ddclient" ]; then
gen_ddclient_conf
- else
+ elif [ "$DDCLIENT" = "inadyn" -o -z "$DDCLIENT" ]; then # unset default for backward compatibility
gen_inadyn_conf
fi
}
Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf
===================================================================
--- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-05-10 17:46:43 UTC (rev 6521)
+++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2014-05-11 21:30:48 UTC (rev 6522)
@@ -184,7 +184,7 @@
## Dynamic DNS Support
## Both "inadyn" and "ddclient" clients are supported.
## For a list of valid DDSERVICE names, see the ouput of "inadyn".
-#DDCLIENT="ddclient" # "inadyn" or "ddclient", defaults to "inadyn"
+#DDCLIENT="ddclient" # "none", "inadyn" or "ddclient", unset defaults to "inadyn" for backward compatibility
#DDSERVICE=
#DDUSER=
#DDPASS=
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|