diff options
author | David Krause <david@cvs.openbsd.org> | 2003-10-20 17:53:33 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2003-10-20 17:53:33 +0000 |
commit | dc4207e194c46d81e07044eff2cfa58428f41a16 (patch) | |
tree | 609c702c7bed5af3b2a4399c5ea39e63a233b9f5 | |
parent | 3acc3b71749c9f502dc52a025cc6165d3dddb398 (diff) |
delay carp initialization until after physical interfaces are configured
ok mcbride@ henning@ deraadt@ todd@
-rw-r--r-- | etc/netstart | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/netstart b/etc/netstart index 0cafe34fba0..8780589b61f 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.87 2003/08/27 11:49:36 henning Exp $ +# $OpenBSD: netstart,v 1.88 2003/10/20 17:53:32 david Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { @@ -250,9 +250,9 @@ for hn in /etc/hostname.*; do test "$if" = "*" && continue case $if in - "gif"*|"gre"*) - # GIF and GRE interfaces need the routes to be setup before - # they are configured. + "carp"*|"gif"*|"gre"*) + # CARP, GIF and GRE interfaces need the routes to be setup + # before they are configured. continue ;; *) @@ -316,7 +316,7 @@ EOF ;; esac -# Configure all the gif and gre interfaces which we know about. +# Configure all the carp, gif and gre 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 @@ -324,7 +324,7 @@ for hn in /etc/hostname.*; do test "$if" = "*" && continue case $if in - "gif"*|"gre"*) + "carp"*|"gif"*|"gre"*) ifstart $if ;; *) |