From: Daniel Dickinson Date: Mon, 23 May 2011 21:06:12 +0000 (+0000) Subject: admin: muninlite: Corrected patch for bridge / dash in interface name patch. It had... X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=30d7350a3b65a61924a48f1e8b36cc76bb11fa6c;p=openwrt%2Fsvn-archive%2Fpackages.git admin: muninlite: Corrected patch for bridge / dash in interface name patch. It had extraneous +'s from copying from a patch SVN-Revision: 26974 --- diff --git a/admin/muninlite/patches/210-add-bridge-devs.patch b/admin/muninlite/patches/210-add-bridge-devs.patch index 0efe3761c..c5453d872 100644 --- a/admin/muninlite/patches/210-add-bridge-devs.patch +++ b/admin/muninlite/patches/210-add-bridge-devs.patch @@ -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"