#!/bin/sh
#
# mount script for hotplugable block device
#				Shuu Yamaguchi <shuu@dotAster.com>
#
# $Id: block_mount,v 1.2 2003/09/21 05:37:59 shuu Exp shuu $
#

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

. /etc/murasaki/bin/block_functions

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

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

bossy_mount
