Displaying 2 results from an estimated 2 matches for "setfsd".
Did you mean:
setfsid
2007 Sep 14
1
Bug#441342: Nut can kill power to UPSs that never went on battery
...gt; /* 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, I think the proper thing to do is to ma...
2007 May 13
0
No subject
...n 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, it's not. In a single NUT server, multiple U...