Advertisement
Guest User

botglupko

a guest
Jan 9th, 2013
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  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
Advertisement