Skip to content

Commit

Permalink
Added Run-Loop (#3143)
Browse files Browse the repository at this point in the history
* Add files via upload

modified run script wich let you run the boot in a loop(if it crashes it restarts)

* Integreated Loop into run.sh

modified run.sh to loop the script so that even if it crashes it
automaticly restarts.
  • Loading branch information
devn0ll authored and solderzzc committed Aug 9, 2016
1 parent 4b16e9d commit 597196e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@ else
fi
fi

while [ true ]
do
echo "###############################################"
echo "##Exit two times with [Ctl+C] to end the loop##"
echo "###############################################"
sleep 1
python pokecli.py --config ${config}
sleep "10"
done

0 comments on commit 597196e

Please sign in to comment.