diff options
Diffstat (limited to 'sysutils/ups-nut/patches/patch-ag')
-rw-r--r-- | sysutils/ups-nut/patches/patch-ag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/ups-nut/patches/patch-ag b/sysutils/ups-nut/patches/patch-ag new file mode 100644 index 00000000000..d769060b17e --- /dev/null +++ b/sysutils/ups-nut/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.7 2002/12/31 22:47:07 lukem Exp $ + +--- drivers/newapc.h.orig Tue Aug 20 17:06:26 2002 ++++ drivers/newapc.h +@@ -119,7 +119,7 @@ struct apc_cmdtab_t { + {INFO_MINUTIL, 0, 0, APC_POLL|APC_F_VOLT, NULL, NULL, 'N'}, + {INFO_OUTVOLT, 0, 0, APC_POLL|APC_F_VOLT, NULL, NULL, 'O'}, + {INFO_SLFTSTRES,0, 0, APC_POLL, NULL, NULL, 'X'}, +- {INFO_BATT_RUNTIME,0, 0, APC_POLL|APC_F_MINUTES, NULL, NULL, 'j'}, ++ {INFO_RUNTIME, 0, 0, APC_POLL|APC_F_SECONDS, NULL, NULL, 'j'}, + {INFO_MFRDATE, 0, 0, 0, NULL, NULL, 'm'}, + {INFO_TEMPMAX, 0, 0, APC_F_CELCIUS, NULL, NULL, '['}, + {INFO_TEMPMIN, 0, 0, APC_F_CELCIUS, NULL, NULL, ']'}, |