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