This commit is contained in:
tuend-work
2025-11-13 07:41:56 +07:00
parent 7f357f3a30
commit 4478491d73
1729 changed files with 193578 additions and 20 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
#similar to get_main_ip.sh, this returns the main IPv6 for the system.
WGET=/usr/bin/wget
if [ ! -x ${WGET} ] && [ -x /usr/local/bin/wget ]; then
WGET=/usr/local/bin/wget
fi
${WGET} -q --tries=4 --timeout=4 --inet6-only https://api64.ipify.org -O -
exit $?
#Connecting to api64.ipify.org (api64.ipify.org)|2607:f2d8:4010:b::2|:443... failed: Network is unreachable.
#4