mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-02 07:09:57 +00:00
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:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user