moth/packages/mcp/service/pointsd/run

14 lines
325 B
Plaintext
Raw Normal View History

#! /bin/sh
exec 2>&1
install -o ctf -m 0755 -d /var/lib/ctf/points.new
install -o ctf -m 0755 -d /var/lib/ctf/points.tmp
2010-10-22 09:36:28 -06:00
touch /var/lib/ctf/points.log
2010-10-29 00:07:03 -06:00
# Re-populate teams list for tanks
ls $base/teams/names | KEY="Too much cheese." /opt/mcp/bin/arc4 > $www/teams.txt.$$
mv $www/teams.txt.$$ $www/teams.txt
exec ./pointsd