1993-03-21 12:45:37 +03:00
|
|
|
#!/bin/sh
|
1995-03-23 11:28:00 +03:00
|
|
|
# $NetBSD: hack.sh,v 1.2 1995/03/23 08:31:30 cgd Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
HACKDIR=/usr/games/lib/hackdir
|
|
|
|
HACK=$HACKDIR/hack
|
|
|
|
MAXNROFPLAYERS=4
|
|
|
|
|
|
|
|
cd $HACKDIR
|
|
|
|
case $1 in
|
|
|
|
-s*)
|
|
|
|
exec $HACK $@
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
exec $HACK $@ $MAXNROFPLAYERS
|
|
|
|
;;
|
|
|
|
esac
|