From b62f0a98099f7e5c931d1d931722b962e888002d Mon Sep 17 00:00:00 2001 From: mollusk Date: Sun, 10 Nov 2019 06:51:46 -0700 Subject: [PATCH] auto-ping.sh: change public ip command --- auto-ping.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! :)"