Last active
October 13, 2019 08:14
-
-
Save kuzyaka/c4885ce659cd3c875a759a428aac8cae to your computer and use it in GitHub Desktop.
Padavan post_wan_script.sh for DynDNS dynv6.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### Custom user script | |
### Called after internal WAN up/down action | |
### $1 - WAN action (up/down) | |
### $2 - WAN interface name (e.g. eth3 or ppp0) | |
### $3 - WAN IPv4 address | |
dyn_dns_token=$(grep -E 'username' /etc/inadyn.conf | awk '{print $2}') | |
/etc/storage/dynv6.sh yourDynDNS.dynv6.net $3 $dyn_dns_token |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment