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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to