diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-02-04 18:20:27 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-02-04 18:20:27 +0000 |
commit | 38f4b2a9a8835ed31f275273f37ce9bd291db451 (patch) | |
tree | 0ec593eed38fa22a60b10b9b6f9c6a4de4d6b3bb /etc | |
parent | d867a6f1d42841d9a949217946b6bd5dc3e2f9d4 (diff) | |
download | FreeBSD-src-38f4b2a9a8835ed31f275273f37ce9bd291db451.zip FreeBSD-src-38f4b2a9a8835ed31f275273f37ce9bd291db451.tar.gz |
Check for NOAUTO on child interfaces (eg wlanX) so they can be created via
rc.conf but not necessarily started.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/network.subr b/etc/network.subr index 06ca836..0a64f96 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -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} |