More better way to find external IP (#385)

* More better way to find external IP

Please change it because external IP is more usable than private IP

* External IP detection
This commit is contained in:
000xxx
2019-04-09 23:22:23 +01:00
committed by arakasi72
parent 6ba83f6097
commit 79dd712da1
+1 -1
View File
@@ -59,7 +59,7 @@ if [ "$relno" = "18" ]; then
libcver=libcurl4
fi
export serverip=$(ip route get 8.8.8.8 | awk 'NR==1 {print $7}')
export serverip=$(wget -qO- ipecho.net/plain)
export logfile="/dev/null"
webpass=''
cronline1="@reboot sleep 10; /usr/local/bin/rtcheck irssi rtorrent"