2012-04-19 17:40:30 -06:00
|
|
|
#! /bin/sh -e
|
2010-10-26 16:43:51 -06:00
|
|
|
|
|
|
|
exec 2>&1
|
|
|
|
|
|
|
|
mkdir -p /var/www/tanks
|
2012-04-19 17:40:30 -06:00
|
|
|
ln -s /opt/tanks/html/* /var/www/tanks/ || true
|
|
|
|
ln -s summary.html /var/www/tanks/index.html || true
|
2010-10-26 16:43:51 -06:00
|
|
|
|
2012-04-19 17:40:30 -06:00
|
|
|
mkdir -p /var/lib/ctf/tanks/players
|
|
|
|
chown ctf /var/lib/ctf/tanks
|
|
|
|
chown ctf /var/lib/ctf/tanks/players
|
2011-02-12 20:25:34 -07:00
|
|
|
|
2011-02-12 20:55:12 -07:00
|
|
|
PATH=/bin:/opt/ctfbase/bin:/opt/tanks/bin; export PATH
|
2010-10-26 16:43:51 -06:00
|
|
|
exec ./tanksd
|