repo.or.cz
/
dragonfly.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tool/kq_sendcli: Add option to set write size.
[dragonfly.git]
/
games
/
hack
/
hack.sh
blob
8136ec42055da75d6ca20a9f11d35d79045a0075
1
#!/bin/sh
2
HACKDIR
=/
usr
/
games
/
lib
/
hackdir
3
HACK
=
$HACKDIR
/
hack
4
MAXNROFPLAYERS
=
4
5
6
cd
$HACKDIR
7
case
$1
in
8
-s
*)
9
exec
$HACK
$@
10
;;
11
*)
12
exec
$HACK
$@
$MAXNROFPLAYERS
13
;;
14
esac