[mythtv-users] Add Exit Button
Paul Pick
paul.pick at gmail.com
Sun Feb 26 14:14:20 UTC 2006
> is there a way to add another exit button to my frontend? i guess there's
> always a way. what i am asking is what is involved. i am using an xbox and
> would like to be able to add a button to 'exit and reboot'. thanks.
In your mainmenu.xml, add stuff like:
<button>
<type>FRONTEND</type>
<text>Exit Frontend</text>
<action>SHUTDOWN</action>
</button>
<button>
<type>REBOOT</type>
<text>Reboot System</text>
<action>EXEC sudo /sbin/reboot</action>
</button>
<button>
<type>SHUTDOWN</type>
<text>Power Off System</text>
<action>EXEC sudo /sbin/poweroff -h</action>
</button>
--
Paul Pick | paul.pick at gmail.com | http://packrat.dnsalias.org/
==============================================================
"Writing is like Prostitution: First you do it for the love
of it. Then you do it for a few friends. And finally you do
it for money." -- Moliere
More information about the mythtv-users
mailing list