Return to rc CVS log | Up to [local] / src / etc |
version 1.240, 2004/03/22 04:34:42 | version 1.241, 2004/03/22 15:02:35 | ||
---|---|---|---|
|
|
||
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 |