X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=net%2Fddns-scripts%2Ffiles%2Fetc%2Fconfig%2Fddns;h=2545215ed6e28d931673f00cceb6ac1b810ec744;hp=7c3f3c1a7ccf957652251a7dcaa3eb81ef6d5927;hb=a00f9da027cf5db527eaf6605240f1d9bc87f35a;hpb=f747dcefdfec315563f349da4d625d9cfcaa84ad diff --git a/net/ddns-scripts/files/etc/config/ddns b/net/ddns-scripts/files/etc/config/ddns index 7c3f3c1a7c..2545215ed6 100644 --- a/net/ddns-scripts/files/etc/config/ddns +++ b/net/ddns-scripts/files/etc/config/ddns @@ -31,6 +31,9 @@ # (e.g. "eth1") and whatever the current ip of this interface is # will be associated with the domain when an update is performed. # +# If "ip_source" is "script" you specify a script to obtain ip address. +# The "ip_script" option should contain path to your script. +# # The last possibility is that "ip_source" is "web", which means # that in order to obtain our ip address we will connect to a # website, and the first valid ip address listed on that page @@ -77,6 +80,9 @@ config service "myddns" #option ip_source "interface" #option ip_interface "eth0.1" + #option ip_source "script" + #option ip_script "path to your scrip" + #option ip_source "web" #option ip_url "http://www.whatismyip.com/automation/n09230945.asp"