blob: afffb86bfd36b521135861ab9c75f259570fbf58 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001#! /bin/bash
2echo "Waiting for XOS to come up"
3until http 0.0.0.0:9999 &> /dev/null
4do
5 sleep 1
6 echo -ne "."
7 RUNNING_CONTAINER=`sudo docker ps|grep "xos"|awk '{print $$NF}'`
8 if [[ $RUNNING_CONTAINER == "" ]]; then
9 echo Container may have failed. check with \"make showlogs\'
10 exit 1
11 fi
12done
13echo "XOS is ready"