mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
ddns-scripts: multiple fixes
Write *.ip file with current registered IP, whenever "get_registered_IP" is called (used by next luci-app-ddns version) Changed detection of cURL proxy support #3876 Reread data from ubus if "get_local_ip" from "ip_network" #5004 #3338 Fix godaddy_com_v1 #5285 Implement "param_opt" for "cloudflare_com_v4" #5097 Inside logfile "*password*" printed in stead of real password #5281 and others Add ipv4 service "dnsever.com" #5178 Add ipv4 service "myip.co.ua" #5199 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# /usr/lib/ddns/dynamic_dns_lucihelper.sh
|
||||
#
|
||||
#.Distributed under the terms of the GNU General Public License (GPL) version 2.0
|
||||
#.2014-2017 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
|
||||
#.2014-2018 Christian Schoenebeck <christian dot schoenebeck at gmail dot com>
|
||||
# This script is used by luci-app-ddns
|
||||
#
|
||||
# variables in small chars are read from /etc/config/ddns as parameter given here
|
||||
@@ -104,6 +104,7 @@ case "$1" in
|
||||
get_registered_ip)
|
||||
[ -z "$lookup_host" ] && usage_err "command 'get_registered_ip': 'lookup_host' not set"
|
||||
write_log 7 "-----> get_registered_ip IP"
|
||||
[ -z "$SECTION" ] || IPFILE="$ddns_rundir/$SECTION.ip"
|
||||
IP=""
|
||||
get_registered_ip IP
|
||||
__RET=$?
|
||||
|
||||
Reference in New Issue
Block a user