#!/bin/sh

echo Removing boot and bald images...

if [ -z $(which syslinux) ] ; then
	echo "Hey! You don't have Syslinux. I'll leave the bald image intact."
	unset BALD
else
	BALD=syslinux-parts/bald.img
fi

for item in boot_idiot.img $BALD ; do
	if [ -f $item ] ; then rm -v $item ; fi
done
