1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Use ipify.org for public IP tracking

This commit is contained in:
Joe Groocock 2017-05-25 10:28:11 +01:00
parent 91a5334c07
commit 71752bbbd0
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -51,6 +51,6 @@ LOCIP=$(ip addr show $IF | perl -n -e "/$AF ([^\/]+).* scope global/ && print \$
#------------------------------------------------------------------------
case $BLOCK_BUTTON in
1) echo $(curl -s http://whatismijnip.nl | cut -d " " -f 5);;
1) curl -s https://api.ipify.org;;
*) echo "$LOCIP";;
esac