svn commit: r187909 - head/etc/rc.d

Warner Losh imp at FreeBSD.org
Thu Jan 29 19:41:46 PST 2009


Author: imp
Date: Fri Jan 30 03:41:45 2009
New Revision: 187909
URL: http://svn.freebsd.org/changeset/base/187909

Log:
  Spawn one fewer shells on startup.  We don't use dhcp_interfaces at
  all in this function, and grep shows no other instances of it
  (besides, this is a function, and in a sub-shell, so all changes are
  local).

Modified:
  head/etc/rc.d/defaultroute

Modified: head/etc/rc.d/defaultroute
==============================================================================
--- head/etc/rc.d/defaultroute	Fri Jan 30 02:39:08 2009	(r187908)
+++ head/etc/rc.d/defaultroute	Fri Jan 30 03:41:45 2009	(r187909)
@@ -21,7 +21,6 @@ defaultroute_start()
 	# Return without waiting if we don't have dhcp interfaces.
 	# Once we can test that the link is actually up, we should
 	# remove this test and always wait.
-	dhcp_interfaces=`list_net_interfaces dhcp`
 	[ -z "`list_net_interfaces dhcp`" ] && return
 
 	# Wait for a default route


More information about the svn-src-head mailing list