Understand the old pseudo-device config(8) file directive, for 4.x.

This commit is contained in:
ru 2003-11-28 08:58:44 +00:00
parent 50fbb1fb9f
commit bbfc6ebf1a

View File

@ -31,7 +31,7 @@ for f in */drivers.conf; do
arch=`dirname $f`
grep -v '^#' $f | grep -v '^$' | awk '{ print $1 }' |
while read x; do
egrep -qw "^(device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
echo $x not found in $arch/GENERIC
sed -e'/"SMALL"/,/^else$/d' ${arch}/dokern.sh | \
grep -qw $x && \
@ -46,7 +46,7 @@ for f in */dokern.sh; do
grep -w -- -e | sed -e's,^[^/]*/,,' -e's,/.*$,,' |
grep -v '^ident\.\*GENERIC$' |
while read x; do
egrep -q "^(device|options|makeoptions)[[:space:]]+$x" \
egrep -q "^((pseudo-)?device|options|makeoptions)[[:space:]]+$x" \
../sys/${arch}/conf/GENERIC || \
echo $x not found in $arch/GENERIC
grep -qw ^$x ${arch}/drivers.conf && \