mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-05 11:30:41 -07:00
14 lines
324 B
Bash
Executable file
14 lines
324 B
Bash
Executable file
#! /bin/sh -e
|
|
|
|
exec 2>&1
|
|
|
|
mkdir -p /var/www/tanks
|
|
ln -s /opt/tanks/html/* /var/www/tanks/ || true
|
|
ln -s summary.html /var/www/tanks/index.html || true
|
|
|
|
mkdir -p /var/lib/ctf/tanks/players
|
|
chown ctf /var/lib/ctf/tanks
|
|
chown ctf /var/lib/ctf/tanks/players
|
|
|
|
PATH=/bin:/opt/ctfbase/bin:/opt/tanks/bin; export PATH
|
|
exec ./tanksd
|