diff --git a/scripts/start-server.sh b/scripts/start-server.sh index 6fc5de1..a864be1 100644 --- a/scripts/start-server.sh +++ b/scripts/start-server.sh @@ -124,14 +124,6 @@ echo "---Prepare Server---" cp ${DATA_DIR}/steamcmd/linux32/* ${SERVER_DIR} chmod -R 770 ${DATA_DIR} -if [ "${BAMBI_FIX}" == "true" ]; then - if grep -r 'sql-mode="ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER"' /etc/alternatives/my.cnf; then - : - else - sed -i '$a\[mysqld]\nsql-mode="ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_AUTO_CREATE_USER"' /etc/alternatives/my.cnf - fi -fi - echo "---Start Server---" cd ${SERVER_DIR} screen -S ArmA3 -L -Logfile ${SERVER_DIR}/Arma3Log.0 -d -m ./arma3server -cfg=@ExileServer/basic.cfg -config=@ExileServer/config.cfg -autoinit -mod=@Exile\; -servermod=@ExileServer\; >> ExileModLog.0 ${GAME_PARAMS}