Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ip=$(lynx -connect_timeout=5 -read_timeout=5 -dump -nolist http://ipid.shat.net/iponly/ 2> /dev/null)
- if [ "x$ip" = "x" ]; then
- ip="ERROR";
- fi;
- echo $ip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement