From 0a6eb8eb0479bbc2f594a17ffb0460e722e7f171 Mon Sep 17 00:00:00 2001 From: cedric <> Date: Mon, 22 Mar 2004 15:02:35 +0000 Subject: [PATCH] Fix CARP shutdown. ok deraadt --- src/etc/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index c79d89b2..c8e9a824 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.240 2004/03/22 04:34:42 mcbride Exp $ +# $OpenBSD: rc,v 1.241 2004/03/22 15:02:35 cedric Exp $ # System startup script run by init on autoboot # or after single-user. @@ -50,7 +50,7 @@ if [ $1x = shutdownx ]; then for hn in /etc/hostname.carp[0-9]*; do # Strip off /etc/hostname. prefix if=${hn#/etc/hostname.} - test "$if" = "*" && continue + test "$if" = "carp[0-9]*" && continue ifconfig $if down done