#!/bin/sh
#
# $Id: umountimage.sh,v 1.2 2006/09/03 18:29:56 jakob Exp $

BASE=`pwd`
MOUNTPOINT=/mnt/
DEVICE=svnd0
SUDO=sudo

echo "Umounting device and mountpoint..."
${SUDO} umount $MOUNTPOINT 
${SUDO} vnconfig -u $DEVICE

