diff options
author | imp <imp@FreeBSD.org> | 2009-01-30 03:41:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-01-30 03:41:45 +0000 |
commit | 95423b159f7d2ae322bc90dc149345fd63bdc7fc (patch) | |
tree | 14c17f338e505e693176790952e224aeb11430b0 /etc | |
parent | 6eaf14ce7957f8b1b374ed0f5301e6bb0bb43fe6 (diff) | |
download | FreeBSD-src-95423b159f7d2ae322bc90dc149345fd63bdc7fc.zip FreeBSD-src-95423b159f7d2ae322bc90dc149345fd63bdc7fc.tar.gz |
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).
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/defaultroute | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/rc.d/defaultroute b/etc/rc.d/defaultroute index 536cb42..e241fc3 100755 --- a/etc/rc.d/defaultroute +++ b/etc/rc.d/defaultroute @@ -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 |