Guest User

Untitled

a guest
Jan 9th, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. Status=`curl --silent localhost/mws/component/status/urn:installation:router |grep Alive |awk '{print $5}' |cut -c2-6`
  3. echo "$Status"
  4. if [ "$Status" = "Burek" ]
  5. then
  6.   echo "OK"
  7. else
  8.   echo "Not OK"
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment