Browse Source

Fix CARP shutdown. ok deraadt

OPENBSD_3_5
cedric 20 years ago
parent
commit
0a6eb8eb04
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc

+ 2
- 2
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -50,7 +50,7 @@ if [ $1x = shutdownx ]; then
for hn in /etc/hostname.carp[0-9]*; do for hn in /etc/hostname.carp[0-9]*; do
# Strip off /etc/hostname. prefix # Strip off /etc/hostname. prefix
if=${hn#/etc/hostname.} if=${hn#/etc/hostname.}
test "$if" = "*" && continue
test "$if" = "carp[0-9]*" && continue
ifconfig $if down ifconfig $if down
done done


Loading…
Cancel
Save