openbsd-ports/sysutils/upsd/patches/patch-apc_static_c

17 lines
604 B
Plaintext
Raw Normal View History

2010-05-24 18:03:21 -04:00
$OpenBSD: patch-apc_static_c,v 1.2 2010/05/24 22:08:11 espie Exp $
--- apc_static.c.orig Fri Aug 2 23:44:23 1996
+++ apc_static.c Sat May 22 17:23:37 2010
@@ -91,9 +91,12 @@ static struct ups_val apc_SmartUPS_230_values[] = {
{SMART_LOWBATDUR, {number: 7}},
{SMART_LOWBATDUR, {number: 10}},
+ /* several models accept different values here */
{SMART_WAKEUPBCAP, {number: 0}},
{SMART_WAKEUPBCAP, {number: 10}},
+ {SMART_WAKEUPBCAP, {number: 15}},
{SMART_WAKEUPBCAP, {number: 25}},
+ {SMART_WAKEUPBCAP, {number: 50}},
{SMART_WAKEUPBCAP, {number: 90}},
{SMART_WAKEUPBCAP, {number: 100}},