projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1862709
)
printPublicIp.sh: change to sthu.org script
author
Stefan Huber <shuber2@gmx.at>
Sun, 28 Oct 2012 17:07:53 +0000
(18:07 +0100)
committer
Stefan Huber <shuber2@gmx.at>
Sun, 28 Oct 2012 17:07:53 +0000
(18:07 +0100)
printPublicIp.sh
patch
|
blob
|
history
diff --git
a/printPublicIp.sh
b/printPublicIp.sh
index 68dcf64db3791507e3c3a3114e7a39a7693277c5..8938f6c27c10b4aeb4ed30ba36131fdf848ff73a 100755
(executable)
--- 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