diff options
author | lukem <lukem@pkgsrc.org> | 2002-12-31 22:47:05 +0000 |
---|---|---|
committer | lukem <lukem@pkgsrc.org> | 2002-12-31 22:47:05 +0000 |
commit | c81681ad85ae55338152c65e96b9b0b7c3e7d8e3 (patch) | |
tree | 80515157499c92fbbc2a14bfb32a719ea39a25a3 /textproc/lout | |
parent | 831fb6d83e7a2fd7f0d4183bf811ea8e25722b6c (diff) | |
download | pkgsrc-c81681ad85ae55338152c65e96b9b0b7c3e7d8e3.tar.gz |
Convert back to supporting INFO_RUNTIME instead of INFO_BATT_RUNTIME.
I *really* dislike how newapc changed from supporting INFO_RUNTIME
(runtime in minutes, which is what the UPS actually reports) to
INFO_BATT_RUNTIME (runtime in seconds, which is UPS result * 60),
because the latter is much less useful as a realistic guess (IMHO),
and because this broke my upslog format and ups monitoring stuff
that used '%VAR runtime'.
(Unfortunately, newapc is written in a way which precludes supporting
multiple results from the same 'UPS status code' (in this case
`j'), so we can't support both results at this time. I decided
that INFO_RUNTIME is more useful, because '81' (minutes) is easier
to "use" than '4860' (seconds))
Diffstat (limited to 'textproc/lout')
0 files changed, 0 insertions, 0 deletions