Changeset 753

Show
Ignore:
Timestamp:
09/28/06 20:32:35 (6 years ago)
Author:
markus
Message:

two little matching bugs in vlan hook, and bad grammer in bridge hook

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/busybox/files/bridge.pre-up

    r743 r753  
    88for IF in $IF_BRIDGE_IFACES; do 
    99        if ! grep -q $IF /proc/net/dev; then 
    10                 echo "Error: interface '$IF' does not found!" 
     10                echo "Error: interface '$IF' does not exist!" 
    1111                brctl delbr $IFACE 
    1212                exit 1 
  • trunk/freewrt/package/busybox/files/vlan.pre-up

    r743 r753  
    1010                VLANID=`echo $IFACE|sed "s/vlan0*//"` 
    1111                ;; 
    12         eth*.0*) 
     12        eth*.0?*) 
    1313                vconfig set_name_type DEV_PLUS_VID 
    1414                VLANID=`echo $IFACE|sed "s/eth[0-9][0-9]*\.0*//g"` 
     
    1717        eth*.*) 
    1818                vconfig set_name_type DEV_PLUS_VID_NO_PAD 
    19                 VLANID=`echo $IFACE|sed "s/eth[0-9][0-9]*\.0*//g"` 
     19                VLANID=`echo $IFACE|sed "s/eth[0-9][0-9]*\.*//g"` 
    2020                IF_VLAN_RAW_DEVICE=`echo $IFACE|sed "s/\(eth[0-9][0-9]*\)\..*/\1/"` 
    2121                ;;