Browse Source

Execute rtsol after turning up trunk(4) and vlan(4) interfaces so they're

taken into consideration for rtsol.
ok reyk@ dlg@
OPENBSD_4_3
brad 17 years ago
parent
commit
57a5c786db
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      src/etc/netstart

+ 6
- 6
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: netstart,v 1.117 2008/01/09 21:38:19 mpf Exp $
# $OpenBSD: netstart,v 1.118 2008/01/17 12:36:33 brad Exp $
# Strip comments (and leading/trailing whitespace if IFS is set)
# from a file and spew to stdout
@ -291,6 +291,11 @@ fi
# Refer to hostname.if(5) and bridgename.if(5)
ifmstart "" "trunk vlan carp gif gre pfsync pppoe"
# The trunk interfaces need to come up first in this list.
# The vlan interfaces need to come up after trunk.
# Configure all the carp interfaces which we know about before default route.
ifmstart "trunk vlan carp"
if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then
fw=`sysctl -n net.inet6.ip6.forwarding`
ra=`sysctl -n net.inet6.ip6.accept_rtadv`
@ -302,11 +307,6 @@ if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then
fi
fi
# The trunk interfaces need to come up first in this list.
# The vlan interfaces need to come up after trunk.
# Configure all the carp interfaces which we know about before default route.
ifmstart "trunk vlan carp"
# /etc/mygate, if it exists, contains the name of my gateway host
# that name must be in /etc/hosts.
[[ -z $dhcpif ]] && stripcom /etc/mygate | while read gw; do


Loading…
Cancel
Save