#! /bin/sh -e
PATH=/bin:/opt/ctfbase/bin; export PATH
while true; do
# Fetch list of teams
teams=/var/lib/ctf/teams.txt
rm -f $teams.tmp
wget -q -O $teams.tmp http://10.0.0.2/teams.txt && \
mv $teams.tmp $teams
sleep 60
done