#!/bin/sh
# Specify your mud dir here.
MUDHOME=""
# It has been reported that non-US users have problems
# with some .o files because their systems default to
# commas for decimal notation and not periods. The
# following language exports are for the benefit of
# people who run into this problem.
LANG=en_US
LANGUAGE=en_US
LC_ALL=en_US
export LANG LANGUAGE LC_ALL MUDHOME
umask 007
ulimit -n 1024
while [ true ]; do
if [ $MUDHOME ] && [ -f $MUDHOME/bin/driver ] && [ -f $MUDHOME/bin/mudos.cfg ]
then
$MUDHOME/bin/driver $MUDHOME/bin/mudos.cfg
else
if [ -f ./driver ] && [ -f ./mudos.cfg ]
then
./driver ./mudos.cfg
else
break
fi
fi
done