Added lines to clear tanks state to new-contest.

This commit is contained in:
Paul S. Ferrell 2009-10-13 16:10:59 -06:00
parent b658035581
commit a0a845f0e7
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ rm -f /var/lib/ctf/flags/* || true
sv restart /var/service/ctf sv restart /var/service/ctf
echo "Removing tanks history"
rm -f /var/lib/tanks/ai/players/*
rm -rf /var/lib/tanks/results/*
rm -f /var/lib/tanks/winner
echo "Things you may want to tweak:" echo "Things you may want to tweak:"
find /var/lib/ctf/disabled find /var/lib/ctf/disabled
find /var/lib/kevin/tokens find /var/lib/kevin/tokens