summaryrefslogtreecommitdiff
path: root/sysutils/munin-node/patches/patch-ag
blob: 6aaee44ed9c9ea53d6691e3b112a9a511188c747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ag,v 1.1 2006/11/19 10:02:10 wiz Exp $

--- node/node.d/foldingathome_rank.in.orig	2004-12-09 20:19:57.000000000 +0000
+++ node/node.d/foldingathome_rank.in
@@ -31,7 +31,7 @@ if [ "$1" = "config" ]; then
 fi
 
 rank=`wget "http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=8d" -q -t 1 -T 5 -O - | egrep "<TD> <font size=3> <b> [0-9]* </b> of [0-9]* </font></TD>" | sed 's/.*<font size=3> <b> \([0-9]*\) .*/\1/'`
-if [ "$rank" == "" ]; then
+if [ "$rank" = "" ]; then
 	if [ -f $statefile ]; then
 		echo rank.value `cat $statefile`
 	fi