Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 03:41:45 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187909 - head/etc/rc.d
Message-ID:  <200901300341.n0U3fjng078340@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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