<br><br><div class="gmail_quote">2008/11/27  <span dir="ltr">&lt;<a href="mailto:glenhawk@optusnet.com.au">glenhawk@optusnet.com.au</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br>
</div></div><div class="Ih2E3d">[snip multi system mnounting issues]<br>
&gt;<br>
<br>
</div>hmmmm... a good idea but I&#39;m not yet comfortable scripting and I am currently using the wake-up feature in MythTV to start the BE. I&#39;m not sure how you would get inbetween the wake-up routine and the mounting of the drives.<br>

Thanks for the input, I&#39;ll see if I can find anyone on the net that has already written a script like the one you are suggesting.</blockquote><div><br>I use the below perl script to pause mythwelcome before the BE is up, otherwise I get the annoying &#39;can&#39;t connect&#39; messages. I use it like this:<br>
<br>until /home/ian/bin/ismythup.pl;do sleep 1;done<br><br>in my BE startup script. (it pauses booting until it&#39;s all started.)<br><br>You should be able to just change the hostname to get it to talk to a remote backend.<br>
<br>Hope that&#39;s some use.<br><br>Cheers,<br><br>Ian<br><br>&lt;---<br>#!/usr/bin/perl<br><br>use strict;<br>use IO::Socket;<br><br>my $host = &#39;localhost&#39;;<br>my $port = 6543;<br>my $sock;<br><br>while (! ($sock = new IO::Socket::INET(<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PeerAddr =&gt; $host,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PeerPort =&gt; $port,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Proto&nbsp;&nbsp;&nbsp; =&gt; &#39;tcp&#39;) )) {select undef,undef,undef,5;exit 1}<br><br>print $sock &quot;20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MYTH_PROTO_VERSION 8\n&quot;;<br>
if (&lt;$sock&gt;=~/13&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REJECT[]:[]/) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exit 0;<br>}<br><br>exit 1;<br>&lt;--<br><br></div></div><br>