+
+ if mv ${DEVICE}/boot/isolinux/* ${DEVICE}/ ; then
+ rmdir ${DEVICE}/boot/isolinux
+ fi
+
+ if [ -d "${DEVICE}"/boot/grub ] ; then
+ [ -d "${DEVICE}/grub" ] || mkdir ${DEVICE}/grub
+ mv ${DEVICE}/boot/grub/* ${DEVICE}/grub/
+ fi
+
+ rmdir ${DEVICE}/boot 2>/dev/null
+