diff options
author | Florian Eckert <fe@dev.tdt.de> | 2020-09-28 14:45:49 +0200 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2020-09-28 14:47:37 +0200 |
commit | 8be604072cbe9652f608dcd6671ae8b029f3fbaa (patch) | |
tree | 7f3777a161b0ca5a9eab4c3d3f07328ef7b56d16 /net/ddns-scripts/files/usr/lib | |
parent | b67240f7ce4371270b6e9782d34c6dd5838c5cba (diff) |
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 <fe@dev.tdt.de>
Diffstat (limited to 'net/ddns-scripts/files/usr/lib')
-rw-r--r-- | net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_functions.sh | 6 |
1 files changed, 2 insertions, 4 deletions
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" |