estinet-ctf/init.sh

10 lines
230 B
Bash

#!/bin/sh
echo "Initializing..."
if [ ! -f "init.lock" ]; then
echo "Adding log..."
echo server-port=$PORT_NUM >> server.properties
echo " Name: $CS_NAME" >> plugins/gFeatures/Config.yml
touch init.lock
fi
exit 0