mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Understand the old pseudo-device config(8) file directive, for 4.x.
This commit is contained in:
parent
347934fa63
commit
69de7f12cb
1 changed files with 2 additions and 2 deletions
|
|
@ -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 && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue