freebsd-ports/games/linux-savage-samuraiwars/files/samuraiwars_server.in
Jose Alonso Cardenas Marquez 0a75e0e190 - New port: games/linux-savage-samuraiwars
Samurai Wars is an official mod for Savage. The mod is set in feudal Japan and
it features new levels and characters, as well as a unique melee combat system.

WWW:    http://www.newerth.com/
2007-09-09 03:40:23 +00:00

13 lines
324 B
Bash

#!/bin/sh
cat ~/.savage/startup.cfg | grep "dedicated_server.*1" > /dev/null 2>&1; RESULT=$?
if [ ${RESULT} -eq 0 ];
then
cd %%SAMURAIWARSDIR%% || exit 1
export LD_LIBRARY_PATH=libs:$LD_LIBRARY_PATH
exec ./silverback.bin "$@"
else
echo "Your ~/.savage/startup.cfg file doesn't include dedicated_server 1!"
exit 1
fi