Check for NOAUTO on child interfaces (eg wlanX) so they can be created via

rc.conf but not necessarily started.
This commit is contained in:
Andrew Thompson 2009-02-04 18:20:27 +00:00
parent 51fc17e377
commit c05bf25301
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188118

View file

@ -515,7 +515,9 @@ childif_create()
i=`ifconfig wlan create ${create_args}`
ifconfig $i name $child && cfg=0
fi
ifn_start $child
if autoif $child; then
ifn_start $child
fi
done
return ${cfg}