<p dir="ltr">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.</p>
<p dir="ltr">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. </p>
<div class="gmail_quote">On Feb 8, 2015 1:31 PM, "Bill Meek" <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 02/08/2015 03:15 PM, John Massengale wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My backend doesn't seem to want to run the Pre-shutdown Check Command<br>
before it shuts down. I've double checked the contents of the checklogin.sh<br>
file and the permissions, but no matter what it won't run. I don't think<br>
it's failing either because there is nothing in the mythbackend.log. The<br>
set wakeup time and shutdown command work fine.<br>
<br>
I'm running XFCE but I don't think that's the issue either because the<br>
checklogin.sh file accommodates that.<br>
<br>
I'm running Mythtv on Ubuntu 14.10. Does anyone have any ideas about what's<br>
wrong? Thanks in advance.<br>
</blockquote>
<br>
Hi,<br>
<br>
1st, I'd run: mythshutdown --check to see if there's anything running that<br>
would prevent shutdown. If that doesn't give you any hints, then with the<br>
backend running (and nothing else, like frontends/recording/<u></u>transcoding...)<br>
type:<br>
<br>
mythbackend --setverbose idle,system<br>
mythbackend --setloglevel debug<br>
tailf /whereverYourBackendLogIs<br>
<br>
Expect to see idle countdown messages and then the system command that<br>
runs your script.<br>
<br>
Set the verbose level to general and the log level to info when you're<br>
all done.<br>
<br>
-- <br>
Bill<br>
______________________________<u></u>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://lists.mythtv.org/<u></u>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/<u></u>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>