[mythtv-users] Making "Exit and Shutdown" actually Exit AND Shutdown

Tom Dexter digitalaudiorock at gmail.com
Mon Nov 26 20:43:43 UTC 2007

On Nov 26, 2007 3:22 PM, Glen Hawksworth <glenhawk at optusnet.com.au> wrote:
> How does one achieve this?
> I am running Mythbuntu/Ubuntu and have not been able to get it to
> shutdown from the MythTV exit screen.
> I found in the general settings the HALT line and I tried putting some
> commands in it:
>       * poweroff
>       * shutdown
>       * sudo shutdown
>       * sudo shutdown -P now
>       * shutdown -P now
> but it still won't shutdown and just exits to the desktop.
> Any tips?
> Cheers,
> Glen
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

My frontend is running under the user mythtv.  I added the following
to my /etc/sudoers file:

mythtv  ALL = NOPASSWD: /sbin/halt

...and for the halt command in the settings I used:

sudo /sbin/halt -p


More information about the mythtv-users mailing list