4 i?86) executable="xonotic-linux32-dedicated" ;; # Not supported anymore but you can build your own.
5 *) executable="xonotic-linux64-dedicated" ;;
10 if ! [ -x "$executable" ]; then
11 if [ -x "../$executable" ] && { [ -f ~/.xonotic/data/server.cfg ] || [ -f ../data/server.cfg ]; }; then
14 echo "This script is not properly set up yet."
15 echo "Please refer to the instructions in readme.txt."
17 echo "- copy server.cfg to the data directory and adjust its settings"
18 echo "- move this file to the main directory of your Xonotic installation"
23 exec ./${executable} +serverconfig server.cfg "${@}"