[mythtv-users] Pre-shutdown Check Command

John Massengale johnrobertmassengale at gmail.com
Sun Feb 8 21:59:32 UTC 2015


Thanks for the response. The machine shuts down without any problems. I
also use the machine as a desktop and when I'm logged in I don't want the
machine to shut down. I only want it to shut down when I'm logged out.

The Pre-shutdown Check Command is supposed to keep it from shutting down of
someone is logged on but it never executes and the machine shuts down
interrupting what I'm doing.
On Feb 8, 2015 1:31 PM, "Bill Meek" <keemllib at gmail.com> wrote:

> On 02/08/2015 03:15 PM, John Massengale wrote:
>
>> My backend doesn't seem to want to run the Pre-shutdown Check Command
>> before it shuts down. I've double checked the contents of the
>> checklogin.sh
>> file and the permissions, but no matter what it won't run. I don't think
>> it's failing either because there is nothing in the mythbackend.log. The
>> set wakeup time and shutdown command work fine.
>>
>> I'm running XFCE but I don't think that's the issue either because the
>> checklogin.sh file accommodates that.
>>
>> I'm running Mythtv on Ubuntu 14.10. Does anyone have any ideas about
>> what's
>> wrong? Thanks in advance.
>>
>
> Hi,
>
> 1st, I'd run: mythshutdown --check to see if there's anything running that
> would prevent shutdown. If that doesn't give you any hints, then with the
> backend running (and nothing else, like frontends/recording/
> transcoding...)
> type:
>
>     mythbackend --setverbose idle,system
>     mythbackend --setloglevel debug
>     tailf /whereverYourBackendLogIs
>
> Expect to see idle countdown messages and then the system command that
> runs your script.
>
> Set the verbose level to general and the log level to info when you're
> all done.
>
> --
> Bill
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150208/34fe8a14/attachment.html>


More information about the mythtv-users mailing list