From 5844952b03b7570308a0665e165f260d172618c4 Mon Sep 17 00:00:00 2001 From: Adam Bukowski Date: Sun, 24 Nov 2013 17:17:00 +0100 Subject: [PATCH] Set proper server config file I've installed CS server two days ago and there wasn't cfg dir. Touching file failed. Config was placed directly in cstrike dir. Also we don't have to touch file to append content. --- CounterStrike/csserver | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 3522bdce7..4064ce0b0 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -571,8 +571,7 @@ echo "=================================" sleep 1 echo "" echo "Creating server.cfg" - touch ${filesdir}/cstrike/cfg/server.cfg - echo "exec ${servercfg}" > ${filesdir}/cstrike/cfg/server.cfg + echo "exec ${servicename}.cfg" >> ${filesdir}/cstrike/server.cfg sleep 1 echo "Creating default config file:" sleep 0.5