3 path="`dirname \"${0}\"`"
4 link="`readlink \"${0}\"`"
6 lsmod | grep ac97 > /dev/null 2>&1 && sndspeed="-sndspeed 48000"
8 [ -n "${link}" ] && path="`dirname \"${link}\"`"
12 x86_64) nexuiz="nexuiz-linux-x86_64-sdl" ;;
13 *) nexuiz="nexuiz-linux-686-sdl" ;;
16 exec ./${nexuiz} ${sndspeed} "${@}"