mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-16 16:19:22 +01:00
ydns6: fix file name
This commit is contained in:
parent
904675e310
commit
5d7306003d
@ -28,7 +28,7 @@ if hash dig 2>/dev/null; then
|
|||||||
else
|
else
|
||||||
WAN_IP6=$(curl -sL6 https://icanhazip.com/)
|
WAN_IP6=$(curl -sL6 https://icanhazip.com/)
|
||||||
fi
|
fi
|
||||||
if [ -f $HOME/.wan_ip6-ydns.txt ]; then
|
if [ -f $HOME/.ydns6.txt ]; then
|
||||||
OLD_WAN_IP6=$(cat $HOME/.ydns6.txt)
|
OLD_WAN_IP6=$(cat $HOME/.ydns6.txt)
|
||||||
else
|
else
|
||||||
echo "No file, need IP6"
|
echo "No file, need IP6"
|
||||||
|
Loading…
Reference in New Issue
Block a user