mirror of
https://github.com/openwrt/packages.git
synced 2025-12-18 00:21:22 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user