[package] update to transmission 1.71 (#5292)
[openwrt/svn-archive/archive.git] / admin / muninlite / patches / 002-add_ppp.patch
1 diff -Naur muninlite-1.0.0/munin-node.in muninlite-1.0.0-openwrt/munin-node.in
2 --- muninlite-1.0.0/munin-node.in 2007-06-11 20:30:26.000000000 +0200
3 +++ muninlite-1.0.0-openwrt/munin-node.in 2008-05-13 14:14:25.000000000 +0200
4 @@ -62,14 +62,14 @@
5 for PLUG in $PLUGINS
6 do
7 if [ "$PLUG" = "if_" ]; then
8 - for INTER in $(grep '^ *\(eth\|wlan\|ath\|ra\)[0-9]\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
9 + for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\)[0-9]\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
10 do
11 RES="$RES if_$INTER"
12 eval "fetch_if_${INTER}() { fetch_if $INTER $@; };"
13 eval "config_if_${INTER}() { config_if $INTER $@; };"
14 done
15 elif [ "$PLUG" = "if_err_" ]; then
16 - for INTER in $(grep '^ *\(eth\|wlan\|ath\|ra\)[0-9]\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
17 + for INTER in $(grep '^ *\(ppp\|eth\|wlan\|ath\|ra\)[0-9]\{1,\}:' /proc/net/dev | cut -f1 -d: | sed 's/ //g');
18 do
19 RES="$RES if_err_$INTER"
20 eval "fetch_if_err_${INTER}() { fetch_if_err $INTER $@; };"