<div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Brian Walter</b> &lt;<a href="mailto:blwalter@gmail.com">blwalter@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Craig Huff wrote:<br>&gt; What about using:<br>&gt;<br>&gt; #mythshutdown --check<br>&gt; #if [ $? == 0 ]; then<br>&gt;&nbsp;&nbsp; safe_to_shutdown<br>&gt; else<br>&gt;&nbsp;&nbsp; not_safe_to_shutdown<br>&gt; fi<br>&gt;<br>&gt;<br>&gt; Craig.
<br>The only problem with mythshutdown (based on a fast scan of the code),<br>is that it checks for running instance of, say, mythcommflag.<br><br>In my case, all the job stuff was off loaded to another machine, so, it<br>
would not find the jobs.</blockquote><div><br>I admit to blissful ignorance of the source code (so far&nbsp; ;-).<br><br>It doesn&#39;t check for&nbsp; slave&nbsp; backend activity?&nbsp; Or is slave backend activity<br>completely independent of the master backend?
<br><br>I would have thought it checked slave backends and that they weren&#39;t<br>independent/autonomous.&nbsp; Sounds like an opportunity! (or is that still<br>called an undocumented feature?)<br><br>Craig.<br></div><br></div>