#!/bin/sh
#basic shell wrapper for Xpmac - Mandrake PPC

VMODE=`/bin/grep ofonly /proc/cmdline`

if [ -n "$VMODE" ]; then
    XPMAC_OPTS="-mach64"
else
    XPMAC_OPTS="-mode 17 -depth 32"
fi

exec /usr/X11R6/bin/Xpmac.bin -fp unix/:-1 $XPMAC_OPTS

