<br><br><div class="gmail_quote">2008/11/27 <span dir="ltr"><<a href="mailto:glenhawk@optusnet.com.au">glenhawk@optusnet.com.au</a>></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>
><br>
<br>
</div>hmmmm... a good idea but I'm not yet comfortable scripting and I am currently using the wake-up feature in MythTV to start the BE. I'm not sure how you would get inbetween the wake-up routine and the mounting of the drives.<br>
Thanks for the input, I'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 'can't connect' 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'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's some use.<br><br>Cheers,<br><br>Ian<br><br><---<br>#!/usr/bin/perl<br><br>use strict;<br>use IO::Socket;<br><br>my $host = 'localhost';<br>my $port = 6543;<br>my $sock;<br><br>while (! ($sock = new IO::Socket::INET(<br>
PeerAddr => $host,<br> PeerPort => $port,<br> Proto => 'tcp') )) {select undef,undef,undef,5;exit 1}<br><br>print $sock "20 MYTH_PROTO_VERSION 8\n";<br>
if (<$sock>=~/13 REJECT[]:[]/) {<br> exit 0;<br>}<br><br>exit 1;<br><--<br><br></div></div><br>