Added multistage, configs, and shrunk size
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user