mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
554eb505f8
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
15 lines
174 B
Bash
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
|