mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-06 12:00:34 -07:00
12 lines
249 B
Bash
Executable file
12 lines
249 B
Bash
Executable file
#! /bin/sh
|
|
|
|
exec 2>&1
|
|
|
|
mkdir -p /var/www/tanks
|
|
ln -s /opt/tanks/html/* /var/www/tanks/
|
|
ln -sf summary.html /var/www/tanks/index.html
|
|
|
|
install -o ctf -d /var/lib/ctf/tanks/players
|
|
|
|
PATH=/bin:/opt/ctfbase/bin:/opt/tanks/bin; export PATH
|
|
exec ./tanksd
|