Browse Source

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.
pull/32/head
Adam Bukowski 12 years ago
parent
commit
5844952b03
  1. 3
      CounterStrike/csserver

3
CounterStrike/csserver

@ -571,8 +571,7 @@ echo "================================="
sleep 1 sleep 1
echo "" echo ""
echo "Creating server.cfg" echo "Creating server.cfg"
touch ${filesdir}/cstrike/cfg/server.cfg echo "exec ${servicename}.cfg" >> ${filesdir}/cstrike/server.cfg
echo "exec ${servercfg}" > ${filesdir}/cstrike/cfg/server.cfg
sleep 1 sleep 1
echo "Creating default config file:" echo "Creating default config file:"
sleep 0.5 sleep 0.5

Loading…
Cancel
Save