[cod] cfg files

Glanzer glanzer at glanzer-net.com
Fri Nov 12 14:18:11 EST 2004


Wait a sec.  You're missing a space in your script file, and it will never
execute your bear.cfg that way.

+exec${CONFIG}   (that would resolve to:  +execbear.cfg)

That should be:

+exec ${CONFIG}   (that would resolve to:  +exec bear.cfg)


--Glanzer
(Moderator of http://www.codboards.com)


----- Original Message ----- 
From: "Jay Vasallo" <jayco1 at charter.net>
To: <cod at icculus.org>
Sent: Monday, November 08, 2004 3:55 PM
Subject: Re: [cod] cfg files


> Forgot to give you an example:
>
> ----------------------------------------------------------------
>
> #!/bin/sh
> # COD Start
>
>   BIN="cod-lnxded";
>   HPDIR="/user/local/games/cod";
>   CONFIG="bear.cfg";
>
> cd  ${HPDIR}
> ./${BIN} +set dedicated 2 +set sv_punkbuster 1 +set fs_homepath ${HPDIR}
> +exec${CONFIG}
>




More information about the Cod mailing list