#!/bin/sh
#
# mount script for hotplugable block device
#				Shuu Yamaguchi <shuu@dotAster.com>
#
# $Id: block_mount,v 1.3 2004/02/06 00:44:53 shuu Exp shuu $
#

if [ "$1" != "start" ];then
	exit 0;
fi

. ${MURASAKI_SCRIPT_DIR}/block_functions

initialize
if [ $STATUS -ne 0 ];then
	exit 1;
fi

check_mount
if [ $MOUNTED -eq 1 ];then
	exit 0;
fi

bossy_mount
