From e1449ac12e515c6fd69f557b62f3b3249f63d4b0 Mon Sep 17 00:00:00 2001 From: Imanol Pinto Date: Sun, 24 Apr 2016 18:45:22 +0200 Subject: [PATCH] Fix IP source. http://www.biranchi.com/ip.php is not working anymore. --- checkIP.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkIP.sh b/checkIP.sh index a2f546f..6928e17 100755 --- a/checkIP.sh +++ b/checkIP.sh @@ -1,5 +1,5 @@ #!/bin/bash -IP=`wget -q -O - http://www.biranchi.com/ip.php` +IP=`wget -q -O - https://api.ipify.org` SCRIPTSHOME=$(dirname $0) IPLOG=$SCRIPTSHOME/last.ip @@ -29,4 +29,4 @@ else echo "Current IP $IP didn't change" fi -exit 0 \ No newline at end of file +exit 0