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:
parent
91a5334c07
commit
71752bbbd0
@ -51,6 +51,6 @@ LOCIP=$(ip addr show $IF | perl -n -e "/$AF ([^\/]+).* scope global/ && print \$
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) echo $(curl -s http://whatismijnip.nl | cut -d " " -f 5);;
|
1) curl -s https://api.ipify.org;;
|
||||||
*) echo "$LOCIP";;
|
*) echo "$LOCIP";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user