Browse Source

muninlite: refresh patches

Purely cosmetic changes only.

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
lilik-openwrt-22.03
Jonathan McCrohan 9 years ago
parent
commit
711500512e
2 changed files with 7 additions and 7 deletions
  1. +3
    -3
      admin/muninlite/patches/001-fix_disks.patch
  2. +4
    -4
      admin/muninlite/patches/230-fix-available-interface-parsing.patch

+ 3
- 3
admin/muninlite/patches/001-fix_disks.patch View File

@ -1,6 +1,6 @@
--- a/plugins/df 2015-11-07 17:05:46.000000000 +0100
+++ b/plugins/df 2015-11-07 17:05:49.183925905 +0100
@@ -19,6 +19,6 @@
--- a/plugins/df
+++ b/plugins/df
@@ -19,6 +19,6 @@ fetch_df() {
do do
PINFO=$(df -P $PART | tail -1); PINFO=$(df -P $PART | tail -1);
PNAME=$(echo $PINFO | cut -d\ -f1 | sed 's/[\/.-]/_/g') PNAME=$(echo $PINFO | cut -d\ -f1 | sed 's/[\/.-]/_/g')


+ 4
- 4
admin/muninlite/patches/230-fix-available-interface-parsing.patch View File

@ -1,6 +1,6 @@
--- a/munin-node.in 2015-11-07 17:52:54.000000000 +0100
+++ b/munin-node.in 2015-11-07 18:09:06.117200499 +0100
@@ -72,7 +72,7 @@
--- a/munin-node.in
+++ b/munin-node.in
@@ -72,7 +72,7 @@ RES=""
for PLUG in $PLUGINS for PLUG in $PLUGINS
do do
if [ "$PLUG" = "if_" ]; then if [ "$PLUG" = "if_" ]; then
@ -9,7 +9,7 @@
do do
INTERRES=$(echo $INTER | sed -e 's/\./VLAN/' -e 's/\-/_/') INTERRES=$(echo $INTER | sed -e 's/\./VLAN/' -e 's/\-/_/')
RES="$RES if_$INTERRES" RES="$RES if_$INTERRES"
@@ -80,7 +80,7 @@
@@ -80,7 +80,7 @@ do
eval "config_if_${INTERRES}() { config_if $INTER $@; };" eval "config_if_${INTERRES}() { config_if $INTER $@; };"
done done
elif [ "$PLUG" = "if_err_" ]; then elif [ "$PLUG" = "if_err_" ]; then


Loading…
Cancel
Save