[Nut-upsuser] NUT command LOGIN is not a login
Roger Price
roger at rogerprice.org
Sat Jun 26 08:26:04 BST 2021
On Fri, 25 Jun 2021, Mark Hansen wrote:
> On 6/24/2021 5:48 AM, Roger Price wrote:
>> Comment: had the command LOGIN been called SETACTIVE, with the upsmon flag
>> ST_LOGIN changed to ST_ACTIVE, and NUMLOGINS changed to NUMACTIVE this
>> mechanism would probably be easier to understand. LOGOUT might be NOTACTIVE.
>>
>> Current Proposed
>> LOGIN SETACTIVE
>> LOGOUT NOTACTIVE
>> NUMLOGINS NUMACTIVE
>> ST_LOGIN ST_ACTIVE
> What about:
> Current Proposed
> LOGIN ATTACH
> LOGOUT DETACH
> NUMLOGINS NUMATTACHED
> ST_LOGIN ST_ATTACHED
Better. ATTACH is simpler and clearer than SETACTIVE. Roger
More information about the Nut-upsuser
mailing list