With hundreds of (vlan) interfaces, a shutdown takes quite a while.

Fix below.

--
Cam


Index: rc
===================================================================
RCS file: /cvs/src/etc/rc,v
retrieving revision 1.348
diff -u -r1.348 rc
--- rc  14 Jan 2011 00:05:42 -0000      1.348
+++ rc  3 Feb 2011 15:59:25 -0000
@@ -167,7 +167,7 @@
                echo /etc/rc.shutdown complete.

                # bring carp interfaces down gracefully
-               ifconfig | while read a b; do
+               ifconfig carp | while read a b; do
                        case $a in
                        carp+([0-9]):) ifconfig ${a%:} down ;;
                        esac

Reply via email to