summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/netif
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2008-05-18 02:57:54 +0000
committerbrooks <brooks@FreeBSD.org>2008-05-18 02:57:54 +0000
commitfc753396196ab7fd0f6725e0c142c26dc4498e44 (patch)
tree7da87d89a34f14081b2e6b17c19b6a87f3ed4213 /etc/rc.d/netif
parent91e9f2c6bec59500926e01add956c95394f9ab24 (diff)
downloadFreeBSD-src-fc753396196ab7fd0f6725e0c142c26dc4498e44.zip
FreeBSD-src-fc753396196ab7fd0f6725e0c142c26dc4498e44.tar.gz
Move the wait for a default route to rc.d/routing. Once we test for
non-dhcp interfaces to negotiate/associate this will make more sense. This also correctly gets run after both devd and netif are run so it has a chance of working.
Diffstat (limited to 'etc/rc.d/netif')
-rw-r--r--etc/rc.d/netif23
1 files changed, 0 insertions, 23 deletions
diff --git a/etc/rc.d/netif b/etc/rc.d/netif
index 37e0f13..8298da4 100644
--- a/etc/rc.d/netif
+++ b/etc/rc.d/netif
@@ -70,29 +70,6 @@ network_start()
# Configure the interface(s).
network_common ifn_start
- if [ -z "$cmdifn" ]; then
- dhcp_interfaces=`list_net_interfaces dhcp`
- if [ -n "${dhcp_interfaces}" ]; then
- delay=${if_up_delay}
- while [ ${delay} -gt 0 ]; do
- defif=`get_default_if -inet`
- if [ -n "${defif}" ]; then
- if [ ${delay} -ne ${if_up_delay} ]; then
- echo "($defif)"
- fi
- break
- fi
- if [ ${delay} -eq ${if_up_delay} ]; then
- echo -n "Waiting for an interface to come up: "
- else
- echo -n .
- fi
- sleep 1
- delay=`expr $delay - 1`
- done
- fi
- fi
-
if [ -f /etc/rc.d/ipfilter ] ; then
# Resync ipfilter
/etc/rc.d/ipfilter quietresync
OpenPOWER on IntegriCloud