diff --git a/auto-ping.sh b/auto-ping.sh index b49ecbd..f88e64a 100755 --- a/auto-ping.sh +++ b/auto-ping.sh @@ -44,7 +44,7 @@ withLoop(){ fi lanip=$(ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p') - pubip=$(curl -s http://whatismijnip.nl |cut -d " " -f 5) + pubip=$(curl -s ifconfig.me) clear echo "Yay! The internet is working! :)"