summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.sh
blob: 8136ec42055da75d6ca20a9f11d35d79045a0075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
HACKDIR=/usr/games/lib/hackdir
HACK=$HACKDIR/hack
MAXNROFPLAYERS=4

cd $HACKDIR
case $1 in
	-s*)
		exec $HACK $@
		;;
	*)
		exec $HACK $@ $MAXNROFPLAYERS
		;;
esac
OpenPOWER on IntegriCloud