I=1
while test -n "$1"
do
	case $1 in
	-M)  	shift;
#		dev_kill $1 /dev /dev/*
		mknod /dev/fwdicploop$I c $1 0;
		chown bin /dev/fwdicploop$I
		chgrp bin /dev/fwdicploop$I
		chmod 640 /dev/fwdicploop$I
		case $I in
			1)	I=2;;
			2)	I=3;;
			3)	I=4;;
			4)	I=5;;
			5)	I=6;;
			*)	I=2;;
		esac
		;;
	*)	;;
	esac
	shift
done
