mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
Merge pull request #134 from chris5560/master
ddns-scripts: minor updates
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
|
||||||
|
|
||||||
if [ "$ACTION" = "ifup" ]; then
|
if [ "$ACTION" = "ifup" ]; then
|
||||||
start_daemon_for_all_ddns_sections "$INTERFACE"
|
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||||
|
/etc/init.d/ddns enabled && start_daemon_for_all_ddns_sections "$INTERFACE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
START=95
|
START=95
|
||||||
|
|
||||||
|
boot() {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
. /usr/lib/ddns/dynamic_dns_functions.sh
|
. /usr/lib/ddns/dynamic_dns_functions.sh
|
||||||
start_daemon_for_all_ddns_sections
|
start_daemon_for_all_ddns_sections
|
||||||
|
|||||||
@@ -63,3 +63,6 @@
|
|||||||
|
|
||||||
# Mythic Beasts (https://www.mythic-beasts.com) Dynamic DNS
|
# Mythic Beasts (https://www.mythic-beasts.com) Dynamic DNS
|
||||||
"mythic-beasts.com" "http://dnsapi4.mythic-beasts.com/?domain=[USERNAME]&password=[PASSWORD]&command=REPLACE%20[DOMAIN]%2060%20A%20DYNAMIC_IP"
|
"mythic-beasts.com" "http://dnsapi4.mythic-beasts.com/?domain=[USERNAME]&password=[PASSWORD]&command=REPLACE%20[DOMAIN]%2060%20A%20DYNAMIC_IP"
|
||||||
|
|
||||||
|
# Securepoint Dynamic-DNS-Service (http://www.spdns.de)
|
||||||
|
"spdns.de" "http://[USERNAME]:[PASSWORD]@update.spdns.de/nic/update?hostname=[DOMAIN]&myip=[IP]"
|
||||||
|
|||||||
Reference in New Issue
Block a user