bad reflash script on wl11000

Lluis <[email protected]> Mon, 1 Sep 2003 14:10:33 +0200
Newsgroups gmane.linux.drivers.wireless.access-point
Message-ID <[email protected]>
hi all!
i've found two little mistakes on wl11000/Image_static/bin/reflash that
prevent the script from working correclty, and having to copy and modify
it on the rw dir to get on to the reflashing process

attached is the little patch for it
-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth

_______________________________________________
LinuxAP-dev mailing list
[email protected]
http://linuxAP.ksmith.com/mailman/listinfo/linuxap-dev
parche_reflash (text/plain, 554 B)
diff -Nur linuxAP.2003-06-10.orig/wl11000/Image_static/bin/reflash linuxAP.2003-06-10.work/wl11000/Image_static/bin/reflash
--- linuxAP.2003-06-10.orig/wl11000/Image_static/bin/reflash 2003-08-21 22:44:24.000000000 +0200
+++ linuxAP.2003-06-10.work/wl11000/Image_static/bin/reflash 2003-08-29 16:56:00.000000000 +0200
@@ -26,7 +26,7 @@
     then
         . /etc/rw/netcfg
     fi
-    return rval
+    return $rval
 }


@@ -78,7 +78,7 @@
     then
         exec < /dev/console > /dev/console 2>&1
     fi
-endif
+fi

 retries=1
 while [ $retries -lt 4 ]