[mythtv-users] Pre-shutdown Check Command

Bill Meek keemllib at gmail.com
Sun Feb 8 21:28:58 UTC 2015


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


More information about the mythtv-users mailing list