mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-25 20:59:21 +01:00
ydns-simple: fix small typo
It works! :D
This commit is contained in:
parent
f6d68e8f1e
commit
6a11e3c084
@ -12,7 +12,7 @@ HOSTNAME=""
|
||||
|
||||
# Get IPv4 address
|
||||
WAN_IP4=$(dig +short myip.opendns.com @resolver1.opendns.com)
|
||||
if [ -f $HOME/.wan_ip4-cf.txt ]; then
|
||||
if [ -f $HOME/.wan_ip4-ydns.txt ]; then
|
||||
OLD_WAN_IP4=$(cat $HOME/.wan_ip4-ydns.txt)
|
||||
else
|
||||
echo "No file, need IP4"
|
||||
|
Loading…
Reference in New Issue
Block a user