#
# This gets 'sysfs' directory if it exists.
#			Shuu Yamaguchi <shuu@dosAster.com>
# $Id: func_sysfs,v 1.2 2003/09/24 06:42:42 shuu Exp shuu $

# SYSFS_DIR: sysfs dir
get_sysfs() {
	while read dev mnt type tmp
	do
		if [ "$type" = "sysfs" ];then
			SYSFS_DIR=$mnt
			break;
		fi
	done < /etc/mtab
}
