Added multistage, configs, and shrunk size

This commit is contained in:
FrozenFOXX
2020-05-25 20:42:56 -07:00
parent 40cc523b61
commit 2f6a9f8181
7 changed files with 538 additions and 29 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
RCDIR=/data/rcs/
INPROGRESSDIR=/data/rcs/running
TTYRECDIR=/data/rcs/ttyrecs/$1
DEFAULT_RC=/app/settings/init.txt
PLAYERNAME=$1
mkdir -p $RCDIR
mkdir -p $INPROGRESSDIR
mkdir -p $TTYRECDIR
if [ ! -f ${RCDIR}/${PLAYERNAME}.rc ]; then
cp ${DEFAULT_RC} ${RCDIR}/${PLAYERNAME}.rc
fi