#!/bin/sh

if [ -e /home/root/.xinitrc.mb ] ; then
if [ -x /mnt/card/home/root/.xinitrc.fvwm ] || [ -x /mnt/cf/home/root/.xinitrc.fvwm ] ; then
  rm /home/root/.xinitrc
else
  mv /home/root/.xinitrc /home/root/.xinitrc.fvwm
fi
mv /home/root/.xinitrc.mb /home/root/.xinitrc
echo "Restoring the original window manager..."
fi
