diff options
author | 2004-03-13 00:59:02 +0000 | |
---|---|---|
committer | 2004-03-13 00:59:02 +0000 | |
commit | 2516dacea2d5a9241a2e1ec29ead242bed3943e2 (patch) | |
tree | 898cc8c8a0074b72361a3ef2a4b352995c7c52ea | |
parent | Remove pw_abort() added in last commit and use the local verson of (diff) | |
download | wireguard-openbsd-2516dacea2d5a9241a2e1ec29ead242bed3943e2.tar.xz wireguard-openbsd-2516dacea2d5a9241a2e1ec29ead242bed3943e2.zip |
Delay pfsync(4) configuration, as the syncif has to be configured in
advance. From Thorsten Lockert.
-rw-r--r-- | etc/netstart | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/netstart b/etc/netstart index bcdfc633f58..35d76bbad58 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.94 2004/01/14 04:41:02 deraadt Exp $ +# $OpenBSD: netstart,v 1.95 2004/03/13 00:59:02 mcbride Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { @@ -254,8 +254,8 @@ for hn in /etc/hostname.*; do test "$if" = "*" && continue case $if in - "carp"*|"gif"*|"gre"*) - # CARP, GIF and GRE interfaces need the routes to be setup + "carp"*|"gif"*|"gre"*|"pfsync"*) + # CARP, GIF, GRE and PFSYNC interfaces need the routes to be setup # before they are configured. continue ;; @@ -319,7 +319,7 @@ EOF ;; esac -# Configure all the carp, gif and gre interfaces which we know about. +# Configure all the carp, gif, gre and pfsync interfaces which we know about. # They were delayed because they require the routes to be set. for hn in /etc/hostname.*; do # Strip off /etc/hostname. prefix @@ -327,7 +327,7 @@ for hn in /etc/hostname.*; do test "$if" = "*" && continue case $if in - "carp"*|"gif"*|"gre"*) + "carp"*|"gif"*|"gre"*|"pfsync"*) ifstart $if ;; *) |