pkgsrc/sysutils/munin-node/patches/patch-af
2006-11-19 10:02:09 +00:00

13 lines
488 B
Text

$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