Author: thompsa
Date: Wed Feb  4 18:20:27 2009
New Revision: 188118
URL: http://svn.freebsd.org/changeset/base/188118

Log:
  Check for NOAUTO on child interfaces (eg wlanX) so they can be created via
  rc.conf but not necessarily started.

Modified:
  head/etc/network.subr

Modified: head/etc/network.subr
==============================================================================
--- head/etc/network.subr       Wed Feb  4 18:14:30 2009        (r188117)
+++ head/etc/network.subr       Wed Feb  4 18:20:27 2009        (r188118)
@@ -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}
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to