[mythtv-users] Autostart frontend ONLY on manual startup?
Druid
mythtv-users at fastdruid.co.uk
Thu Mar 3 21:50:57 UTC 2005
Lane wrote:
>Has anyone figured out an elegant way to do the following:
>- Have Myth frontend start up automatically if and only if the machine
>was started manually
Yes, PoP and something that I was planning to do this weekend.
Basicly I am planning to change the shutdown command to run a script
which would set a value (probably write it to the mythconverg database
but it could be as simple as putting the wakeup time in a file) then
shutdown.
The script that starts the frontend then would look at this value and
if the current time was within a specified amount of that time then don't
start the frontend, if it's way out then start the frontend.
I'll post the scripts when I've finished if anyone's interested.
HTH
Druid
More information about the mythtv-users
mailing list