mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
ddns-scripts: Added support for custom update scripts
Squashed commit of the following: commit2701c8868eAuthor: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Oct 5 11:01:57 2014 +0200 ddns-scripts: Added support for custom update scripts Sample script Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commite07ecb90faAuthor: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Oct 5 11:00:11 2014 +0200 ddns-scripts: Added support for custom update scripts Added support for custom update scripts with new option update_script. function get_service_url() renamed to get_service_data() and extended to detect scripts inside service / service_ipv6 for later use function send_update() modified to support custom update scripts. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit39e41b2151Author: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Oct 5 10:52:44 2014 +0200 ddns-scripts: Added support for custom update scripts Added support for custom update scripts with new option update_script Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit33f264768eAuthor: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Oct 5 10:48:21 2014 +0200 ddns-scripts: Insert description for NEW option update_script Insert description for NEW option update_script Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com> commit6f6a60244dAuthor: Christian Schoenebeck <christian.schoenebeck@gmail.com> Date: Sun Oct 5 10:43:52 2014 +0200 ddns-scripts: Update PKG_RELEASE Update_PKG_RELEASE to reflect changes Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -91,6 +91,12 @@ config service "myddns"
|
||||
# the format of the url to update with. You can either add an
|
||||
# entry to the "/usr/lib/ddns/services" or "services_ipv6" file
|
||||
# or specify this with the "update_url" option.
|
||||
# If your ddns provider doesn't work with ddns-scripts because
|
||||
# there are additional parameters or other special thinks to be done,
|
||||
# then you could write your own script to send updates to your ddns provider.
|
||||
# Have a look into /usr/lib/ddns/update_sample.sh
|
||||
# The script is specified in "update_script"
|
||||
# Either set "service_name" or one of "update_url" and "update_script"
|
||||
# default: none
|
||||
option service_name "dyndns.org"
|
||||
|
||||
@@ -98,6 +104,10 @@ config service "myddns"
|
||||
# "http://[USERNAME]:[PASSWORD]@members.dyndns.org/nic/update?hostname=[DOMAIN]&myip=[IP]"
|
||||
# option update_url ""
|
||||
|
||||
# sample:
|
||||
# "/usr/lib/ddns/update_sample.sh"
|
||||
# option update_script ""
|
||||
|
||||
###########
|
||||
# You must specify your domain/host name, your username and your password
|
||||
# as you get from you DDNS provider. Keep an eye on providers help pages.
|
||||
|
||||
Reference in New Issue
Block a user