freebsd-ports/games/uox3/files/uox3.sh
David E. O'Brien 8683c24763 Fix the syntax error that introduced July 2000.
(maybe this port isn't used and can be cvs rm'ed?)
2001-02-26 05:25:58 +00:00

20 lines
277 B
Bash

#!/bin/sh
uox3dir=/usr/local/uox3
case "$1" in
start)
[ -x ${uox3dir}/uox3 ] && \
cd ${uox3dir} && \
uox3 > ${uox3dir}/stdout.log & && \
echo -n ' uox3'
;;
stop)
killall uox3 && echo -n ' uox3'
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac