I found a write up on creating a "Reboot"
menu item that I can't get to work (<a href="http://mythfrontend.topcities.com/">http://mythfrontend.topcities.com/</a>) extract at the bottom. I followed the instructions but the system won't
reboot I get the menu item and a quick blink but no reboot?
<br><br>I'm guessing it might be a permission problem? I'm using mythtv as my user so I simply replaced mce with mythtv <span style="font-weight: bold; font-style: italic;">&quot;mythtv ALL=NOPASSWD:/sbin/shutdown,/sbin/reboot&quot;
</span><br><br>Any thoughts or ideas anyone might have would be appreciated.<br><br>Thanks,<br>AJM<br><br><br><br><span style="font-style: italic;">6.11 adding a reboot button</span><br style="font-style: italic;"><span style="font-style: italic;">

Being able to shutdown the xbox from mythfrontend is nice, but sometimes a reboot is preferred,</span><br style="font-style: italic;"><span style="font-style: italic;">e.g. if you'd like to play a game or so. To allow this, one can add a button on the mythfrontend
</span><br style="font-style: italic;"><span style="font-style: italic;">menu. To prevent accidents, it is good practice to create an extra submenu for this. Below, the</span><br style="font-style: italic;"><span style="font-style: italic;">

contents of /usr/share/mythtv/reboot.xml is given. This is a new file I created myself.</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;mythmenu name=&quot;REBOOT&quot;&gt;</span><br style="font-style: italic;">

<span style="font-style: italic;">&lt;button&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;text&gt;No, not right now&lt;/text&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">

&lt;action&gt;MENU mainmenu.xml&lt;/action&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;/button&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;button&gt;
</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;text&gt;Yes, reboot please&lt;/text&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;action&gt;EXEC sudo /sbin/reboot&lt;/action&gt;
</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;/button&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;/mythmenu&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">

To access this submenu, simply add the following snippet in the menu where you'd like to add it.</span><br style="font-style: italic;"><span style="font-style: italic;">For instance in /usr/share/mythtv/mainmenu.xml.</span>

<br style="font-style: italic;"><span style="font-style: italic;">21</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;button&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">

&lt;text&gt;Reboot&lt;/text&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">&lt;action&gt;MENU reboot.xml&lt;/action&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">

&lt;/button&gt;</span><br style="font-style: italic;"><span style="font-style: italic;">Obviously, this will only work if this command is added to the sudoers file as was done in subsection</span><br style="font-style: italic;">

<span style="font-style: italic;">6.9. The mce line should now contain the following:</span><br style="font-style: italic;"><span style="font-style: italic;">mce ALL=NOPASSWD:/sbin/shutdown,/sbin/reboot</span>