Fix comparison of units.

Submitted by:	Maxim Sobolev <sobomax@altavista.net> on -current
This commit is contained in:
Jeroen Ruigrok van der Werven 2000-05-06 14:17:23 +00:00
parent ea1a3a92fe
commit 22b9f6cdc7

View File

@ -795,7 +795,7 @@ acd*|cd*|mcd*|scd*)
fi
if [ "${units}" -le 31 ]; then
i=0
while [ $i -lt $units ]; do
while [ $i -le $units ]; do
dname=$name$i
rm -rf ${dname}* r${dname}*
mknod ${dname}a c $chr $(($i * 8)) root:operator