From: Stefan Huber Date: Sun, 28 Oct 2012 17:07:53 +0000 (+0100) Subject: printPublicIp.sh: change to sthu.org script X-Git-Url: http://git.sthu.org/?a=commitdiff_plain;h=ce39a04e5f1691fe47a1607df590ac1ef25c687b;p=shutils.git printPublicIp.sh: change to sthu.org script --- 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