SOURCES: nut-matrix.patch - now it works
baggins
baggins at pld-linux.org
Thu Jun 12 17:39:18 CEST 2008
Author: baggins Date: Thu Jun 12 15:39:18 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- now it works
---- Files affected:
SOURCES:
nut-matrix.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/nut-matrix.patch
diff -u SOURCES/nut-matrix.patch:1.1 SOURCES/nut-matrix.patch:1.2
--- SOURCES/nut-matrix.patch:1.1 Thu Jun 12 17:17:17 2008
+++ SOURCES/nut-matrix.patch Thu Jun 12 17:39:12 2008
@@ -9,3 +9,16 @@
{ NULL, NULL, 0 },
};
+--- nut-2.2.2/drivers/apcsmart.c~ 2007-12-12 21:34:51.000000000 +0100
++++ nut-2.2.2/drivers/apcsmart.c 2008-06-12 17:38:28.000000000 +0200
+@@ -540,8 +540,8 @@
+ !strcmp(buf, "6QI")) { /* (APC600.) */
+ upsdebugx(1, "Found Smart-UPS");
+ dstate_setinfo("ups.model", "Smart-UPS");
+- }
+- else return 0;
++ } else if (strcmp(buf, "5YI")) /* Matrix */
++ return 0;
+ }
+
+ upsdebugx(2, "Firmware: [%s]", buf);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nut-matrix.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list