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>
This commit is contained in:
Florian Eckert
2020-09-28 14:45:49 +02:00
parent b67240f7ce
commit 8be604072c
84 changed files with 38 additions and 40 deletions

View File

@@ -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"