summaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2020-06-21 12:28:14 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2020-06-21 12:28:14 +0000
commitb1637694aa6a7670301c4b7befcd65bc388aa86a (patch)
treedde2f9748dca4812d0fec3b215d891aa77c37ec8 /etc/netstart
parent6612e410c38d1b77f10176ee31023e229ee65daf (diff)
start wg with the other interfaces that rely on routing being up.
from Matt Dunwoodie and Jason A. Donenfeld ok deraadt@
Diffstat (limited to 'etc/netstart')
-rw-r--r--etc/netstart6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/netstart b/etc/netstart
index 891d34e8442..68e251e2c40 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.205 2020/05/22 13:38:44 kn Exp $
+# $OpenBSD: netstart,v 1.206 2020/06/21 12:28:13 dlg Exp $
# Turn off Strict Bourne shell mode.
set +o sh
@@ -299,7 +299,7 @@ vifscreate
# 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 "" "aggr trunk svlan vlan carp pppoe tun tap gif etherip gre egre mobileip pflow"
+ifmstart "" "aggr trunk svlan vlan carp pppoe tun tap gif etherip gre egre mobileip pflow wg"
# The aggr and trunk interfaces need to come up first in this list.
# The (s)vlan interfaces need to come up after trunk.
@@ -319,7 +319,7 @@ fi
route -qn add -net 127 127.0.0.1 -reject >/dev/null
# Configure interfaces that rely on routing
-ifmstart "tun tap gif etherip gre egre mobileip pflow"
+ifmstart "tun tap gif etherip gre egre mobileip pflow wg"
if [[ $ip6kernel == YES ]]; then
# Ensure IPv6 Duplicate Address Detection (DAD) is completed.