[Nut-upsdev] Liebert ESP II driver
Robert Jobbagy
jobbagy.robert at gmail.com
Wed Aug 4 13:23:50 UTC 2010
Hi Guys,
I attached my shutdown patch.
I tested and works fine but please someone needs test.
You need make a shutdown script and put in it these things:
if (test -f /etc/killpower)
then
/usr/local/ups/bin/upsdrvctl shutdown <- it calls the shutdown function
of liebert-esp2 driver
/sbin/shutdown -h +0
fi
Please put in devel tree, thanks.
2010/8/3 Robert Jobbagy <jobbagy.robert at gmail.com>
> Sorry, I realized my mistakes and I fixed them but I forgetted wrote to
> mail-list.
> It was some dummy mistakes from me.
>
> I tested my shutdown function and it works fine.
> I will make some test today and after I will send the patch.
>
> Sorry the some useless mails in past
>
>
>
> 2010/8/2 Arjen de Korte <nut+devel at de-korte.org <nut%2Bdevel at de-korte.org>
> >
>
> Citeren Robert Jobbagy <jobbagy.robert at gmail.com>:
>>
>> I fixed my shutdown function:
>>>
>>
>> Why you just don't look into other drivers how to use the upslog* and
>> upsdebug* functions, is beyond me... :-(
>>
>> [...]
>>
>>
>> I ran a test and doesnt exist the /tmp/liebert-esp2_debug.log file so I
>>> think shutdown function not called but I don't know why ....
>>>
>>> any idea ?
>>>
>>
>> Read 'man 8 nutupsdrv' to see if this gives you a hint when the
>> upsdrv_shutdown function is called.
>>
>> Other than that, you're not providing an awful lot of information. Again.
>> We can't help you, if you don't meticulously describe what actions you
>> performed and what the intended and actual results where. We're not
>> magicians...
>>
>>
>> Best regards, Arjen
>> --
>> Please keep list traffic on the list
>>
>>
>> _______________________________________________
>> Nut-upsdev mailing list
>> Nut-upsdev at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
>>
>
>
>
> --
> Best Regards,
>
> Robert
>
--
Best Regards,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100804/bd56af79/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liebert-esp2_shutdown.patch
Type: text/x-patch
Size: 3726 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20100804/bd56af79/attachment.bin>
More information about the Nut-upsdev
mailing list