|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh - |
|
|
|
# |
|
|
|
# $OpenBSD: netstart,v 1.156 2015/09/27 20:32:33 sthen Exp $ |
|
|
|
# $OpenBSD: netstart,v 1.157 2015/10/23 15:22:49 claudio Exp $ |
|
|
|
|
|
|
|
# Turn off Strict Bourne shell mode. |
|
|
|
set +o sh |
|
|
@ -252,7 +252,7 @@ fi |
|
|
|
|
|
|
|
# Configure all the non-loopback interfaces which we know about, but |
|
|
|
# do not start interfaces which must be delayed. Refer to hostname.if(5) |
|
|
|
ifmstart "" "trunk svlan vlan carp gif gre pfsync pppoe tun bridge pflow" |
|
|
|
ifmstart "" "trunk svlan vlan carp gif gre pfsync pppoe tun tap bridge pflow" |
|
|
|
|
|
|
|
# The trunk interfaces need to come up first in this list. |
|
|
|
# The (s)vlan interfaces need to come up after trunk. |
|
|
@ -318,7 +318,7 @@ esac |
|
|
|
# require routes to be set. TUN might depend on PPPoE, and GIF or GRE may |
|
|
|
# depend on either of them. PFLOW might bind to ip addresses configured |
|
|
|
# on either of them. |
|
|
|
ifmstart "pppoe tun gif gre bridge pflow" |
|
|
|
ifmstart "pppoe tun tap gif gre bridge pflow" |
|
|
|
|
|
|
|
# Reject 127/8 other than 127.0.0.1. |
|
|
|
route -qn add -net 127 127.0.0.1 -reject >/dev/null |
|
|
|