source: packages/admin/muninlite/patches/210-add-bridge-devs.patch @ 26974

Last change on this file since 26974 was 26974, checked in by cshore, 5 years ago

[packages] admin: muninlite: Corrected patch for bridge / dash in interface name patch. It had extraneous +'s from copying from a patch

File size: 991 bytes
  • munin-node.in

    a b RES="" 
    7272for PLUG in $PLUGINS 
    7373do  
    7474  if [ "$PLUG" = "if_" ]; then   
    75     for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g'); 
     75    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\|br-\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g 
     76s/\-/_/g'); 
    7677    do 
    7778      INTERRES=$(echo $INTER | sed 's/\./VLAN/') 
    7879      RES="$RES if_$INTERRES" 
    do 
    8081      eval "config_if_${INTERRES}() { config_if $INTER $@; };" 
    8182    done 
    8283  elif [ "$PLUG" = "if_err_" ]; then 
    83     for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g'); 
     84    for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\|ipsec\|tap\|br-\)\([^:]\)\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g 
     85s/\-/_/g'); 
    8486    do 
    8587      INTERRES=$(echo $INTER | sed 's/\./VLAN/') 
    8688      RES="$RES if_err_$INTERRES" 
Note: See TracBrowser for help on using the repository browser.