Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 14:28:22 -0700
From:      Doug Barton <dougb@dougbarton.us>
To:        freebsd-rc@freebsd.org, Brooks Davis <brooks@freebsd.org>
Subject:   Removal of deprecation for network_interfaces != AUTO
Message-ID:  <4A21A4F6.5060709@dougbarton.us>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050308060703050404090808
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Without objection I plan to commit the attached patch before the code
slush, and to MFC the change.

I've never seen the rationale for this, and I use a value other than
AUTO personally for a script I have that tests to see if the wired
interface is up and starts the wireless if not. I've also seen other
users ask about this from time to time, so I'm sure I'm not alone.


Doug

--------------050308060703050404090808
Content-Type: text/plain;
 name="network.subr-diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="network.subr-diff"

Index: network.subr
===================================================================
--- network.subr	(revision 193111)
+++ network.subr	(working copy)
@@ -726,10 +726,6 @@
 		_tmplist="${_lo}${_tmplist}"
 		;;
 	*)
-		if [ -z "$type" ]; then
-			warn "Values of network_interfaces other than" \
-			    "AUTO are deprecated"
-		fi
 		_tmplist="${network_interfaces} ${cloned_interfaces}"
 		;;
 	esac

--------------050308060703050404090808--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A21A4F6.5060709>