Jens Petersen 69dd38
#!/bin/sh
Jens Petersen 69dd38
Jens Petersen 69dd38
PROG_NAME=`basename $0`
Jens Petersen 69dd38
Jens Petersen 69dd38
for i in x nox; do
Jens Petersen 69dd38
  [ -x "/usr/bin/${PROG_NAME}-$i" ] && exec /usr/bin/${PROG_NAME}-$i "$@"
Jens Petersen 69dd38
done
Jens Petersen 69dd38
Jens Petersen 69dd38
echo "Can't find $PROG_NAME" 1>&2
Jens Petersen 69dd38
exit 1