mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01: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
|