2011-01-04 12:35:15 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
2011-02-10 17:07:48 -07:00
|
|
|
if [ "$1" != "-f" ]; then
|
2011-01-04 12:35:15 -07:00
|
|
|
echo "Usage: $0 -f"
|
|
|
|
echo
|
|
|
|
echo "Wipes out the current contest. This operation is not"
|
|
|
|
echo "reversable, which is why you have to specify -f to signify"
|
|
|
|
echo "that you know what you're getting into."
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
sv d tokend
|
|
|
|
sv d pointsd
|
|
|
|
sv d puzzled
|
|
|
|
sv d tanksd
|
|
|
|
|
2012-07-22 17:14:06 -06:00
|
|
|
rm -f $CTF_BASE/state/tokens.db
|
|
|
|
rm -f $CTF_BASE/state/points.log
|
|
|
|
rm -f $CTF_BASE/www/scoreboard.html
|
|
|
|
rm -f $CTF_BASE/state/puzzles.db
|
|
|
|
rm -rf $CTF_BASE/state/points.new
|
|
|
|
rm -rf $CTF_BASE/state/points.tmp
|
|
|
|
rm -rf $CTF_BASE/state/tanks
|
|
|
|
rm -rf $CTF_BASE/state/teams
|
2012-05-30 22:29:36 -06:00
|
|
|
|
2011-01-04 12:35:15 -07:00
|
|
|
sv u tokend
|
|
|
|
sv u pointsd
|
|
|
|
sv u puzzled
|
|
|
|
sv u tanksd
|