sometimes ubus is not ready

pull/1/head
Jordan Sokolic 2020-02-14 13:46:31 +02:00
parent fccd5651ba
commit 8dfe4c2282
1 changed files with 1 additions and 1 deletions

2
run.sh
View File

@ -72,7 +72,7 @@ function main {
docker inspect $CONTAINER >/dev/null 2>&1
if [[ $? -eq 0 ]]; then
echo "* starting container '$CONTAINER'"
docker start $CONTAINER
docker start $CONTAINER; sleep 1
docker exec $CONTAINER /etc/init.d/network restart
else
echo "* creating container $CONTAINER"