+++ /dev/null
-#!/bin/sh
-
-executable="nexuiz-osx-dedicated"
-
-cd "`dirname "${0}"`"
-
-if ! [ -x "$executable" ]; then
- if [ -x "../$executable" ] && { [ -f ~/.nexuiz/data/server.cfg ] || [ -f ../data/server.cfg ] || [ -f ~/.nexuiz/havoc/server.cfg ] || [ -f ../havoc/server.cfg ]; }; then
- cd ..
- else
- echo "This script is not properly set up yet."
- echo "Please refer to the instructions in readme.txt."
- echo "In short:"
- echo "- copy server.cfg to the data directory and adjust its settings"
- echo "- move this file to the main directory of your Nexuiz installation"
- exit 1
- fi
-fi
-
-exec ./${executable} -game havoc +serverconfig server.cfg "${@}"