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

git-svn-id: svn://svn.openwrt.org/openwrt/packages@26974 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cshore 2011-05-23 21:06:12 +00:00
parent cf339477d4
commit cfa9fe3a6a

View 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"