diff --git a/scripts/rtinst b/scripts/rtinst index 3eceaee..fe40439 100755 --- a/scripts/rtinst +++ b/scripts/rtinst @@ -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"