Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/network

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 639 by niro, Thu Dec 13 12:18:23 2007 UTC revision 640 by niro, Mon Dec 17 14:30:25 2007 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/network,v 1.15 2007-12-13 12:18:23 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/network,v 1.16 2007-12-17 14:30:25 niro Exp $
3    
4  #%rlevels: 0:k 1:k 2:k 3:s 4:s 5:s 6:k  #%rlevels: 0:k 1:k 2:k 3:s 4:s 5:s 6:k
5  #%start: 20  #%start: 20
# Line 295  config_bridge_devices() Line 295  config_bridge_devices()
295   brctl addif ${iface} ${bport}   brctl addif ${iface} ${bport}
296   done   done
297   # enable spanning-tree protocol   # enable spanning-tree protocol
298   case BRIDGE_STP in   case ${BRIDGE_STP} in
299   on|off) brctl stp ${iface} ${BRIDGE_STP} ;;   on|off) brctl stp ${iface} ${BRIDGE_STP} ;;
300   *) echo "BRIDGE: unkown value \$BRIDGE_STP='$BRIDGE_STP'."; return 1 ;;   *) echo "BRIDGE: unkown value \$BRIDGE_STP='$BRIDGE_STP'."; return 1 ;;
301   esac   esac

Legend:
Removed from v.639  
changed lines
  Added in v.640