]> git.sthu.org Git - shutils.git/commitdiff
printPublicIp.sh: change to sthu.org script
authorStefan Huber <shuber2@gmx.at>
Sun, 28 Oct 2012 17:07:53 +0000 (18:07 +0100)
committerStefan Huber <shuber2@gmx.at>
Sun, 28 Oct 2012 17:07:53 +0000 (18:07 +0100)
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