On 02/05/2005 11:01 AM, Andrew Bassett wrote:
I've added the options ivtv tuner=39 to /etc/modprobe.conf
I also read the following, but it DID NOT work:
1. rename /etc/rc5.d/S86mythbackend to S96mythbackend 2. edit /etc/init.d/mythbackend and change the following line:
from # chkconfig: - 86 14
to # chkconfig: - 96 04
However, I found a pretty dirty hack, which DOES work:
# /sbin/chkconfig mythbackend off
I then added the following lines to my /etc/rc.d/rc.local file at the bottom:
/etc/init.d/mythbackend start sleep 3 /etc/init.d/mythbackend stop /etc/init.d/mythbackend start
Wow, that is a hack. Why not just add the following to the start() function in /etc/init.d/mythbackend:
ivtv=`lsmod | grep '^ivtv' | cut -d' ' -f1` if [ "X$ivtv" != "Xivtv" ]; then modprobe ivtv fi
bttv users can add:
bttv=`lsmod | grep '^bttv' | cut -d' ' -f1` if [ "X$bttv" != "Xbttv" ]; then modprobe bttv fi
and Air2PC users can add:
skystar2=`lsmod | grep '^skystar2' | cut -d' ' -f1` if [ "X$skystar2" != "Xskystar2" ]; then modprobe skystar2 fi
The thing to remember is rc.local runs *after* all other scripts have run. Modprobing there won't be of any benefit to the Sxx... scripts.
-- David
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
