<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 12:07 PM,  <span dir="ltr">&lt;<a href="mailto:mythtv.t.wuuza@xoxy.net">mythtv.t.wuuza@xoxy.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; /usr/bin/service mythtv-backend restart<br>
<br>
&gt; But it still doesn&#39;t fix it. However, once X is loaded if i run same<br>
&gt; command it&#39;s fine.<br>
<br>
</div>Here&#39;s the script I use to delay until the udev permissions are set on my<br>
tuner (ie group is video instead of root).  I post this because A) it<br>
might help you and B) if anyone has a better way of doing this I&#39;m<br>
listening.  I&#39;m a programmer but not a bash expert.  It seems like this<br>
should be possible without a temp file but I couldn&#39;t get it to work and<br>
it was getting late the night I was messing with it.  I&#39;m sure there are<br>
other ways to check permissions, too.<br>
<br>
#!/bin/sh<br>
while true; do<br>
        find /dev/video1 -group video &gt; /tmp/waitForVideo<br>
        if [ `grep video1 /tmp/waitForVideo` ]; then<br>
                break<br>
        fi<br>
        sleep 1<br>
done<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div> </div><div>You stick the command for the script in your rc.local?  </div><div><br></div><div>Just real quick (i left my program days 12 years ago for accounting/computer forensics, so bare with me) I know the find command, what does the -group video do?  I mean I get that it&#39;s putting whatever the find command finds into /tmp/wfv and then if there is an entry for video1 breaking, just don&#39;t understand the -group video option.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">
John<br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Sincerely, <br><br>MacNean C. Tyrrell<br>