ifnet: Rename DrvAPI to "IfAPI"
"DrvAPI" is too generic a name. Make the name more specific as "IfAPI" (InterFace API). Sponsored by: Juniper Networks, Inc.
This commit is contained in:
parent
b75062f234
commit
701bb67bc5
@ -235,7 +235,7 @@ then
|
|||||||
fi
|
fi
|
||||||
IFS=
|
IFS=
|
||||||
echo -n "Conversion for $file started, please wait: "
|
echo -n "Conversion for $file started, please wait: "
|
||||||
FAIL_PAT="XXX - DRVAPI"
|
FAIL_PAT="XXX - IFAPI"
|
||||||
count=0
|
count=0
|
||||||
while read -r line
|
while read -r line
|
||||||
do
|
do
|
||||||
@ -272,7 +272,7 @@ echo ""
|
|||||||
count=`grep $FAIL_PAT $file.tmp | wc -l`
|
count=`grep $FAIL_PAT $file.tmp | wc -l`
|
||||||
if [ $count -gt 0 ]
|
if [ $count -gt 0 ]
|
||||||
then
|
then
|
||||||
echo "$count lines could not be converted to DRVAPI"
|
echo "$count lines could not be converted to IFAPI"
|
||||||
echo "Look for /* $FAIL_PAT */ in the converted file"
|
echo "Look for /* $FAIL_PAT */ in the converted file"
|
||||||
fi
|
fi
|
||||||
echo "original $file has been moved to $file.orig"
|
echo "original $file has been moved to $file.orig"
|
Loading…
Reference in New Issue
Block a user