Sorry,  I realized my mistakes and I fixed them but I forgetted wrote to mail-list.<div>It was some dummy mistakes from me.</div><div><br></div><div>I tested my shutdown function and it works fine.</div><div>I will make some test today and after I will send the patch.</div>
<div><br></div><div>Sorry the some useless mails in past</div><div><br></div><div><br><br><div class="gmail_quote">2010/8/2 Arjen de Korte <span dir="ltr">&lt;<a href="mailto:nut%2Bdevel@de-korte.org">nut+devel@de-korte.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Citeren Robert Jobbagy &lt;<a href="mailto:jobbagy.robert@gmail.com" target="_blank">jobbagy.robert@gmail.com</a>&gt;:<br>

<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I fixed my shutdown function:<br>
</blockquote>
<br></div>
Why you just don&#39;t look into other drivers how to use the upslog* and upsdebug* functions, is beyond me... :-(<br>
<br>
[...]<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I ran a test and doesnt exist the /tmp/liebert-esp2_debug.log file so I<br>
think shutdown function not called but I don&#39;t know why ....<br>
<br>
any idea ?<br>
</blockquote>
<br></div>
Read &#39;man 8 nutupsdrv&#39; to see if this gives you a hint when the upsdrv_shutdown function is called.<br>
<br>
Other than that, you&#39;re not providing an awful lot of information. Again. We can&#39;t help you, if you don&#39;t meticulously describe what actions you performed and what the intended and actual results where. We&#39;re not magicians...<div>
<div></div><div class="h5"><br>
<br>
Best regards, Arjen<br>
-- <br>
Please keep list traffic on the list<br>
<br>
<br>
_______________________________________________<br>
Nut-upsdev mailing list<br>
<a href="mailto:Nut-upsdev@lists.alioth.debian.org" target="_blank">Nut-upsdev@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards,<br><br>Robert <br>
</div>