[mythtv-users] MythTV Pre Shutdown Check command

Michael T. Dean mtdean at thirdcontact.com
Sat Jul 12 16:21:35 UTC 2008


On 07/12/2008 08:21 AM, Glen Hawksworth wrote:
> I have the need to setup a Myth box with automatic shutdown and 
> startup. I can handle the ACPI setup, I can get it to turn on in time 
> to tape the show and then shutdown again but I would like a way (other 
> than having a frontend running) to prevent the system from shutting down.
>
> I need this because in addition to being a Mythbox, this will also be 
> a personal computer for internet, word processing, the occasional 
> game, etc.
> What I was thinking was that if the system was at the login screen 
> then it can shutdown. If the system is logged in (even if a front end 
> is not running) then it wont automatically shutdown. The idea would be 
> that the user would not shutdown their PC but instead when they are 
> finished with it they would just log out leaving the PC to decide if 
> it can shutdown.

Can't you do that with mythshutdown (i.e. related to mythwelcome, which 
comes with a standard mythtv install)?  Might require a script to add 
the "if no other non-myth stuff is occuring, too," but it would be a 
much better starting point than a roll-your-own solution.

Mike


More information about the mythtv-users mailing list