summaryrefslogtreecommitdiff
path: root/sysutils/munin-node/patches/patch-af
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-11-19 10:02:09 +0000
committerwiz <wiz@pkgsrc.org>2006-11-19 10:02:09 +0000
commitc14a0f7e792856876567f09871e673dbcb46d61c (patch)
tree8b5f70f669e5aec1d17134456df9606541d27823 /sysutils/munin-node/patches/patch-af
parent823b039fe567551c97ad93030762233574535811 (diff)
downloadpkgsrc-c14a0f7e792856876567f09871e673dbcb46d61c.tar.gz
Fix "test ==".
Diffstat (limited to 'sysutils/munin-node/patches/patch-af')
-rw-r--r--sysutils/munin-node/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/munin-node/patches/patch-af b/sysutils/munin-node/patches/patch-af
new file mode 100644
index 00000000000..b1e1a7b2e33
--- /dev/null
+++ b/sysutils/munin-node/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2006/11/19 10:02:10 wiz Exp $
+
+--- node/node.d/foldingathome_wu.in.orig 2004-12-09 20:19:57.000000000 +0000
++++ node/node.d/foldingathome_wu.in
+@@ -31,7 +31,7 @@ fi
+
+ wu=`wget "http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=8d" -q -t 1 -T 5 -O - | egrep -A 2 "<TD> WU</TD>" | grep "<b>" | sed 's/.*<b> \([0-9]*\) .*/\1/'`
+
+-if [ "$wu" == "" ]; then
++if [ "$wu" = "" ]; then
+ if [ -f $statefile ]; then
+ echo wu.value `cat $statefile`
+ fi