#!/bin/sh
echo "Red Hat Linux `basename $0` 1.1"
echo "Copyright (C) 1999 Red Hat Software, Inc"
echo "Redistributable under the terms of the GNU General Public License"

kpanel=`/sbin/pidof kpanel`

if [ -n "$kpanel" ]; then
    exec switchdesk-kde
else
    exec switchdesk-gnome
fi
