printPublicIp.sh: change to sthu.org script
[shutils.git] / printPublicIp.sh
index 68dcf64db3791507e3c3a3114e7a39a7693277c5..8938f6c27c10b4aeb4ed30ba36131fdf848ff73a 100755 (executable)
@@ -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