/usr/games/nexuiz-server is in nexuiz-server 2.5.2+dp-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #!/bin/sh
DPSELF=nexuiz-server
# "server" or "client"
DPROLE=server
# darkplaces or darkplaces-server
DPBINARY=darkplaces-server
ENGINE="/usr/games/${DPBINARY}"
DEBUGGER="$NEXUIZ_DEBUGGER"
OPTIONS="-nexuiz -basedir /usr/share/games/nexuiz"
QUIET=0
EXCUSE="\
Nexuiz ${DPROLE} wrapper for Debian\n\
\n\
Usage: ${DPSELF} [OPTION]...\n\
\n\
-h, --help\t\tDisplay this help\n\
<engine option>\tPass options to the engine\n\
+<console command>\tPass commands to the engine\n"
while [ "$1" != "" ]; do
case "$1" in
-h|--help)
echo ${EXCUSE}
exit 0
;;
*)
break
;;
esac
shift
done
if test "z$QUIET" = z1; then
exec >/dev/null 2>&1;
fi
if test -n "$NEXUIZ_BACKTRACE"; then
exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args ${ENGINE} ${OPTIONS} "$@"
else
exec ${DEBUGGER} ${ENGINE} ${OPTIONS} "$@"
fi
|