summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2002-08-10 22:03:58 +0000
committerIan Dowse <iedowse@FreeBSD.org>2002-08-10 22:03:58 +0000
commitd64915d6e373efc67190d1220865e76c5eaf046f (patch)
tree371523028407c3fa4d6803b51d3b9922fed20185
parent5965373e69ca208cedd8ede9716ef0d58e6c3434 (diff)
Notes
-rw-r--r--etc/MAKEDEV8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 89e42c9aab33..ed1e5875ab53 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -796,10 +796,10 @@ acd*t*)
tracks=`expr $i : '.*t\(.*\)'`;
name=acd;
chr=117;
- if [ -z "${units}" -o "${units}" -le 0 ]; then
- units=1
+ if [ -z "${units}" ]; then
+ units=0
fi
- if [ -z "${tracks}" -o "${tracks}" -le 0 ]; then
+ if [ -z "${tracks}" ]; then
tracks=100
fi
if [ "${units}" -le 31 -a "${tracks}" -le 169 ]; then
@@ -830,7 +830,7 @@ acd*|cd*|mcd*|scd*)
mcd*) units=`expr $i : '...\(.*\)'`; name=mcd; chr=29;;
scd*) units=`expr $i : '...\(.*\)'`; name=scd; chr=45;;
esac
- if [ -z "${units}" -o "${units}" -le 0 ]; then
+ if [ -z "${units}" ]; then
units=0
fi
if [ "${units}" -le 31 ]; then