projects
/
shutils.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add nsd-dynipwatch.sh
[shutils.git]
/
printPublicIp.sh
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
#!/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