[cod] bash script

tom nikitopoulos tomdagreek at gmail.com
Tue Jun 16 08:40:43 EDT 2009


any of u folks have a good bash script i can steal from you? i have made a
post in ow forums but no luck so far
i am running ow mod on ubuntu and the script i have made will start the mod
but will not run pb.
i can start the server from ./cod4_lnxded and it will start pb normally.
i hate to run this server without pb
here it goes minus typin errors

#!/bin/bash

$port=28960
$ip+175.15.26.266
$slots=16
cod5dir=home/tome/cod5
mod=mods/mp_openwarfare

./cod4_lnxded \
+set sv_punkbuster 1 \
+set loc_language 0 \
+exec server.cfg \
+map_rotate

exit 0

a cliff notes version of the script(i am not near the server right now) i am
a noob to linux scripts but enjoy the linux flavor of server.
i post this thinkin some of u have seen the post on ow but maybe there is
someone out there who has not
tom
any help would be appreciated
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20090616/ac98930e/attachment.htm>


More information about the cod mailing list