[mythtv-users] Autostart frontend ONLY on manual startup?
Lane Schwartz
dowobeha at gmail.com
Sat Mar 5 15:46:24 UTC 2005
On Sat, 5 Mar 2005 13:56:36 +1100, Phill Edwards <philledwards at gmail.com> wrote:
> Someone gave me their script which uses the following logic.
>
> - Start mythfront/back ends every time the box boots up.
> - At the same time as mythfrontend starts, start up irw in a script
> which redirects its stdout to a log file and waits for 10 minutes
> - When 10 minutes is up, check to see if the irw log file is empty.
> - If its not empty exit the script and do nothing
> - If it is empty then assume that there is nobody using mythtv
> (otherwise they would have pressed at least 1 button on the remote),
> kill mythfrontend and exit the script.
> - Now that mythfrontend is shut down the machine can go into its
> auto-shutdown routine whenever it's ready.
>
> I can send you the script if you want it.
Sure, that'd be great. Please post to the whole list for posterity. :)
Lane
--
Meetup with other Myth users!
http://mythtv.info/moin.cgi/MUG
More information about the mythtv-users
mailing list