]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- it should work now even with aliasem on vlan interface
authorPaweł Gołaszewski <blues@pld-linux.org>
Fri, 10 Mar 2006 10:37:42 +0000 (10:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-dev_alias.patch -> 1.7

rc-scripts-dev_alias.patch

index 402fe3e2917864459d0fc6da35b8cefc967768c2..edc68d883ef3ca9760f15602cccda2def4200b6c 100644 (file)
@@ -22,7 +22,7 @@
        # detect network device type (ie. dummy, eth for dummy0, eth0 ..)
        if [ -z "$DEVICETYPE" ]; then
 -              DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[0-9]*\.?[0-9]*$/,NUL); print $0 } ')
-+              DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[0-9]*\.?:?[0-9]*$/,NUL); print $0 } ')
++              DEVICETYPE=$(echo $DEVICE | awk ' { gsub(/[\.:]?[0-9]*[\.:]?[0-9]*$/,NUL); print $0 } ')
        fi
  
  # Setup DEVICETYPE for special cases.
This page took 0.12692 seconds and 4 git commands to generate.