daily pastebin goal
56%
SHARE
TWEET

Untitled

a guest Dec 23rd, 2010 27 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. ip=$(lynx -connect_timeout=5 -read_timeout=5 -dump -nolist http://ipid.shat.net/iponly/ 2> /dev/null)
  4.  
  5. if [ "x$ip" = "x" ]; then
  6.         ip="ERROR";
  7. fi;
  8.  
  9. echo $ip
RAW Paste Data
Top