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