1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh . /etc/conf.d/xash3d DEFAULT_LIBPATH=/usr/lib32 if [ ! -d "$XASH3D_BASEDIR" ]; then echo "$XASH3D_BASEDIR not found" exit 1 fi $DEFAULT_LIBPATH/xash3d/xash "$@"