blob: b1e1a7b2e3359f6732b43f7817ebffea44657f20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|