mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
ddns-scripts: update to 2.7.6-1
- tld_names.dat.gz - rename to public_suffix_list.dat.gz - (re)created during build - new location /usr/share - move services files to /etc/ddns - new services - CloudFlare.com-v4 using API-Version 4 without using public_suffix_list.dat - GoDaddy.com - both depending on cURL package - both with modified syntax for option domain ( NEW: [host[.subdom]@]domain.tld ) - new service - Now-DNS.com formerly Now-IP.com - service afraid.org now supports key-auth and basic-auth - new command line options for dynamic_dns_updater.sh and dynamic_dns_updater.sh - adapted ddns.init and ddns.hotplug to new command line options - renaming config options inside section global Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
This commit is contained in:
Regular → Executable
+3
-6
@@ -1,14 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# there are other ACTIONs like ifupdate we don't need
|
||||
# so parse dynamic_dns_functions.sh only when needed
|
||||
case "$ACTION" in
|
||||
ifup)
|
||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||
/etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE"
|
||||
ifup) # OpenWrt is giving a network not phys. Interface
|
||||
/etc/init.d/ddns enabled && /usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- start
|
||||
;;
|
||||
ifdown)
|
||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||
stop_daemon_for_all_ddns_sections "$INTERFACE"
|
||||
/usr/lib/ddns/dynamic_dns_updater.sh -n "$INTERFACE" -- stop
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user