From d8a5c6a064a5dee251f6153e155b71f7675f8fb6 Mon Sep 17 00:00:00 2001 From: Niklas Date: Sun, 25 Apr 2021 20:08:14 +0200 Subject: [PATCH] Revert "rcon password" This reverts commit e5df3ba1a99024d1317c00008efcfb0cedca9bac. --- server.cfg | 2 -- start.sh | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/server.cfg b/server.cfg index f298b76..b69de62 100644 --- a/server.cfg +++ b/server.cfg @@ -10,5 +10,3 @@ sv_voiceenable "1" sv_log_onefile "0" sv_lan "0" sv_cheats "0" - -rcon_password "${RCON_PASSWORD}" diff --git a/start.sh b/start.sh index 1a3ff8c..a848aa2 100755 --- a/start.sh +++ b/start.sh @@ -9,8 +9,7 @@ echo "### Installing / Updateing l4d2 ###" echo "### Creating config ###" cd $HOME/server -# cp $HOME/server.cfg $HOME/server/left4dead2/cfg/server.cfg -envsubst < $HOME/server.cfg > $HOME/server/left4dead2/cfg/server.cfg +cp $HOME/server.cfg $HOME/server/left4dead2/cfg/server.cfg env | awk -F "=" '/^CVAR_/ {sub("CVAR_","",$1); print tolower($1),($2 ~ /^[0-9]+$/)?$2:"\""$2"\""}' > docker_server.cfg