[packages] admin: muninlite: Corrected patch for bridge / dash in interface name...
authorDaniel Dickinson <crazycshore@gmail.com>
Mon, 23 May 2011 21:06:12 +0000 (21:06 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Mon, 23 May 2011 21:06:12 +0000 (21:06 +0000)
SVN-Revision: 26974

admin/muninlite/patches/210-add-bridge-devs.patch

index 0efe3761c095692ea2c555e80576b63394736a10..c5453d87242c8749eb471d4a27d584f80eadc3b5 100644 (file)
@@ -6,7 +6,7 @@
    if [ "$PLUG" = "if_" ]; then  
 -    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
 +    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\|br-\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g
-++s/\-/_/g');
++s/\-/_/g');
      do
        INTERRES=$(echo $INTER | sed 's/\./VLAN/')
        RES="$RES if_$INTERRES"
@@ -16,7 +16,7 @@
    elif [ "$PLUG" = "if_err_" ]; then
 -    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
 +    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\|br-\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g
-++s/\-/_/g');
++s/\-/_/g');
      do
        INTERRES=$(echo $INTER | sed 's/\./VLAN/')
        RES="$RES if_err_$INTERRES"