History | View | Annotate | Download (240 Bytes)
#! /bin/bash
set -e
. common.sh
debug set -x
CLEANUP=( )
trap cleanup EXIT
echo -n "Installing a master boot record for the windows disk..."
$INSTALL_MBR -p 1 -i n ${BLOCKDEV}
echo "done"
#execute cleanups
cleanup
trap - EXIT
exit 0