[mythtv-users] re: powerdown a masterbackend box

Kenneth Aafl°y ke-aa at frisurf.no
Sun Feb 15 00:22:54 EST 2004


On Sunday 15 February 2004 05:46, Audio Phile wrote:
> Can someone help me out with adding a shutdown button
> to /usr/share/mythtv/mainmenu.xml that will call a
> script to powerdown the box?
>
> Right now I have:
>
>   <!-- <button>
>      <type>SHUTDOWN</type>
>      <text>Shutdown</text>
>      <action>SHUTDOWN</action>
>    </button> -->
>
> Can I just uncomment that?  Help :)

I belive you could try to ucomment that, but I suspect that it will only bring 
up the menu (which is already missing the button). The next thing would to 
either alter programs/mythfrontend/main.cpp and recompile, or add a button 
with type = EXEC, but i'm not sure how to use that, there is something in the 
archives at mythtv.org about it tho.

-- 

Kenneth
ke-aa at frisurf.no


More information about the mythtv-users mailing list