Displaying 2 results from an estimated 2 matches for "isamaster".
Did you mean:
  is_master
  
2007 Sep 14
1
Bug#441342: Nut can kill power to UPSs that never went on battery
...n is in upsmon's forceshutdown():
>
>         /* set FSD on any "master" UPS entries (forced shutdown in progress) */
>         for (ups = firstups; ups != NULL; ups = ups->next)
>                 if (flag_isset(ups->status, ST_MASTER)) {
>                         isamaster = 1;
>                         setfsd(ups);
>                 }
>
> This code does not attempt to determine whether the UPS in question needs to
> be shut down or not. Shutting down a UPS that is online with a full charge
> is a grievous offense.
>
> To avoid race conditions...
2007 May 13
0
No subject
...shutdown():
>>
>>         /* set FSD on any "master" UPS entries (forced shutdown in
progress) */
>>         for (ups =3D firstups; ups !=3D NULL; ups =3D ups->next)
>>                 if (flag_isset(ups->status, ST_MASTER)) {
>>                         isamaster =3D 1;
>>                         setfsd(ups);
>>                 }
>>
>> This code does not attempt to determine whether the UPS in question
>> needs to be shut down or not. Shutting down a UPS that is online with =
a
>> full charge is a grievous offense.
No, i...