]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- we should stop bridges first if we are staring them last
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 10 Jul 2003 12:30:34 +0000 (12:30 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 10 Jul 2003 12:30:34 +0000 (12:30 +0000)
svn-id: @1098

rc.d/init.d/network

index 78dba1bb82e49055eafcfe3b194ec3424e69e5ba..c3ce20fb26d91b50478f0ffaa43cf8dc410ce812 100644 (file)
@@ -8,7 +8,7 @@
 #
 # probe:       true
 
-# $Id: network,v 1.59 2003/07/10 12:26:08 baggins Exp $
+# $Id: network,v 1.60 2003/07/10 12:30:34 baggins Exp $
 
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 
@@ -159,7 +159,7 @@ case "$1" in
        done
        
        for i in $interfaces_br_boot ; do
-               run_cmd -a "$(nls 'Bringing up interface') $i" /sbin/ifup $i boot
+               run_cmd -a "$(nls 'Bringing up bridge interface') $i" /sbin/ifup $i boot
        done
 
        network_postinit
@@ -186,6 +186,10 @@ case "$1" in
                fi
        fi
 
+       for i in $interfaces_br_boot ; do
+               run_cmd -a "$(nls 'Shutting down bridge interface') $i" /sbin/ifdown $i boot
+       done
+
        for i in $tunnels; do
                run_cmd -a "$(nls 'Shutting down tunnel interface') $i" /sbin/ifdown tnlcfg-$i boot
                run_cmd -a "$(nls 'Removing tunnel') $i" /sbin/tnldown $i boot
This page took 0.172434 seconds and 4 git commands to generate.