You can open some form of text editor, and make a shell script. This is mine:

#!/bin/sh

export LD_LIBRARY_PATH=/home/gasket/hlds_l:$LD_LIBRARY_PATH
cd /home/gasket/hlds_l
/home/gasket/hlds_l/hlds_run -game cstrike +map de_dust +maxplayers 16 +port 27015 +ip 
129.244.36.243


Obviously, edit the paths and game type and map and ip to your own specs. Then, name 
it like cstrike or something,
then 'chmod 755 cstrike' (without the ' ), and then ./cstrike

if you want to keep it running after you close your terminal, put nohup before it, 
i.e. nohup ./cstrike
if you want to do other things and put it into the background, put a & after it, i.e. 
./cstrike &

10/4/2001 10:04:21 AM, "Berkley Barnard" <[EMAIL PROTECTED]> wrote:

>
>
>Sorry for my ignorance, I'm a very recent Linux convert with a couple of
>questions...
>
>Currently, in order to start my game server I need to enter 2 lines:
>
>export LD_LIBRARY_PATH ... etc etc
>
>followed by:
>
>./hlds_run -game cstrike ... etc etc
>
>Could someone give me a tip on how to avoid re-entering the first line each
>restart, and also how I can set up some type of shortcut for the second
>line?
>
>Secondly, could anyone point me toward a simple walkthrough of compiling an
>Adminmod plugin under Linux?
>
>Any help would be appreciated.
>
>Thanks,
>Berkley Barnard
>
>




Reply via email to