Maybe not what you are looking for but there is a script that is run (I don't remember what/where it is off the top of my head) that is run when the power button is pressed. I rewrote mine to put an exit in the top so it does nothing. The wife kept pushing the power button to turn on myth when it was already on and would shut it down in the process. This worked great to solve the problem (At least the one i had).
<br><br><div><span class="gmail_quote">On 6/21/07, <b class="gmail_sendername"><a href="mailto:joe.white@wachovia.com">joe.white@wachovia.com</a></b> &lt;<a href="mailto:joe.white@wachovia.com">joe.white@wachovia.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font face="sans-serif" size="2">I am looking for a lock to replace the
power/reset button on my mythbox. &nbsp;Does anyone have one, and if so
can they tell me where they got it?</font>
<br>
<br><font face="sans-serif" size="2">jw</font><br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br><br></blockquote></div><br>