svn commit: r188118 - head/etc

Andrew Thompson thompsa at FreeBSD.org
Wed Feb 4 10:20:28 PST 2009


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}


More information about the svn-src-all mailing list