X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=printPublicIp.sh;h=8938f6c27c10b4aeb4ed30ba36131fdf848ff73a;hb=62d133b5f78c3b113e964ac0635ee137de2afa05;hp=68dcf64db3791507e3c3a3114e7a39a7693277c5;hpb=186270931fd019a216884bdc0ef2fc93ae3cb81e;p=shutils.git diff --git a/printPublicIp.sh b/printPublicIp.sh index 68dcf64..8938f6c 100755 --- a/printPublicIp.sh +++ b/printPublicIp.sh @@ -1,6 +1,3 @@ #!/bin/sh -wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//' - -#curl -A "Mozilla Firefox" $@ "http://automation.whatismyip.com/n09230945.asp" 2> /dev/null - #| grep -E "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" +curl www.sthu.org/whatismyip.html