ydns6: fix file name

This commit is contained in:
Aminda Suomalainen 2015-12-25 09:44:24 +02:00
parent 904675e310
commit 5d7306003d

View File

@ -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"