[mythtv-users] making the system shutdown when exiting mythfrontend

Marc Mosthav marc at mosthav.com
Tue Apr 6 17:09:41 EDT 2004


I am using a mini mythfrontend start shell script:

(echo $$ >/tmp/mythstart;/usr/local/bin/mythfrontend; /usr/bin/sudo
/sbin/poweroff) >>/home/mythtv/mythfrontend.out 2>&1 &

and my /etc/sudoers contains the following line:

mythtv  ALL=(ALL)       NOPASSWD: /sbin/poweroff

Hope this helps,
Marc

----- Original Message ----- 
From: "James Colannino" <email2jamez at dslextreme.com>
To: <mythtv-users at mythtv.org>
Sent: Tuesday, April 06, 2004 9:24 PM
Subject: [mythtv-users] making the system shutdown when exiting mythfrontend


> Is there a way to make the system actually shutdown after exiting
> mythfrontend?  I tried changing the General settings (I changed the halt
> command under Setup -> General to "halt") but it didn't have any effect.
>
> James
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



More information about the mythtv-users mailing list