<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 12:07 PM, <span dir="ltr"><<a href="mailto:mythtv.t.wuuza@xoxy.net">mythtv.t.wuuza@xoxy.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> /usr/bin/service mythtv-backend restart<br>
<br>
> But it still doesn't fix it. However, once X is loaded if i run same<br>
> command it's fine.<br>
<br>
</div>Here'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'm<br>
listening. I'm a programmer but not a bash expert. It seems like this<br>
should be possible without a temp file but I couldn't get it to work and<br>
it was getting late the night I was messing with it. I'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 > /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's putting whatever the find command finds into /tmp/wfv and then if there is an entry for video1 breaking, just don'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>