[bf1942] 1.3 tomorrow and FAQs...

ScratchMonkey ScratchMonkey at SewingWitch.com
Sun Feb 9 17:37:27 EST 2003


--On Sunday, February 09, 2003 3:19 PM -0700 Scott Brooks <blaze at fragz.ca> 
wrote:

> You should be able to add something along the lines of
> QUERY_PORT=12345 ; /path/to/bf1942

Try (assuming bash)

export QUERY_PORT=12345
/path/to/bf1942

You could also put the port number in another config file:

export QUERY_PORT=`cat /path/to/configfile`

Or just make a config file with the one line:

export QUERY_PORT=12345

and then in the main script put:

. /path/to/configfile

(The "." makes the shell run the argument as if its contents were inline in 
the current file. That's how the stuff in /etc/sysconfig is typically 
loaded by the initscripts in /etc/rc.d/init.d.)



More information about the Bf1942 mailing list