From 8be604072cbe9652f608dcd6671ae8b029f3fbaa Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 28 Sep 2020 14:45:49 +0200 Subject: ddns-scripts: move all json files to default Since we can also install custom ddns services, the name for the default services is not optimally chosen. To emphasize this the folder with the standard services for the package feed will be renamed to default. Signed-off-by: Florian Eckert --- net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'net/ddns-scripts/files/usr/lib') diff --git a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh index 4a994ebc7..d59fed440 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh @@ -317,9 +317,7 @@ urlencode() { } # extract url or script for given DDNS Provider from -# directory /usr/share/ddns/services/ipv4/ for IPv4 -# or from -# directory /usr/share/ddns/services/ipv6/ for IPv6 +# directory /usr/share/ddns/default # $1 Name of the provider # $1 Name of Variable to store url to # $2 Name of Variable to store script to @@ -329,7 +327,7 @@ get_service_data() { shift . /usr/share/libubox/jshn.sh - local dir="/usr/share/ddns/services" + local dir="/usr/share/ddns/default" local name data url answer script [ $# -ne 3 ] && write_log 12 "Error calling 'get_service_data()' - wrong number of parameters" -- cgit v1.2.3