freebsd-dev/games/hack/hack.sh
jkh 057afceb86 Bring in the 4.4 Lite games directory, modulo man page changes and segregation
of the x11 based games.  I'm not going to tag the originals with bsd_44_lite
and do this in two stages since it's just not worth it for this collection,
and I've got directory renames to deal with that way.  Bleah.
Submitted by:	jkh
1994-09-04 04:03:31 +00:00

15 lines
174 B
Bash

#!/bin/sh
HACKDIR=/usr/games/lib/hackdir
HACK=$HACKDIR/hack
MAXNROFPLAYERS=4
cd $HACKDIR
case $1 in
-s*)
exec $HACK $@
;;
*)
exec $HACK $@ $MAXNROFPLAYERS
;;
esac