Actually, it is in /etc/rc3.d and looks like this in an ls -al ...

[EMAIL PROTECTED] rc5.d]$ ls -al S66dvbt
lrwxrwxrwx  1 root root 16 Nov 19 20:45 S66dvbt -> /etc/init.d/dvbt


the /etc/init.d/dvbt script is as follows...

#!/bin/bash
#
# Startup script for dvbt
#
# chkconfig: 2345 06 94
# description: dvbt.
# processname: 
# pidfile: 
# config: 

prog=dvbt
RETVAL=0
BUILDDIR=/build

start() {
        HAS_CX88=`lspci -n | fgrep 14f1:8802`
        HAS_BT878=`lspci -n | fgrep 109e:0878`
        echo -n -e "Inserting DVICO modules into kernel: "
        cd ${BUILDDIR}/video4linux
        insmod video-buf.ko
        insmod btcx-risc.ko
        modprobe i2c-core
        insmod v4l2-common.ko
        insmod v4l1-compat.ko
        modprobe i2c-algo-bit
        modprobe videodev
        insmod ../dvb-kernel/build-2.6/dvb-core.ko dvb_shutdown_timeout=0
        insmod ../dvb-kernel/build-2.6/mt352.ko
        if [ -n "$HAS_CX88" ]; then
                insmod cx22702.ko
                insmod video-buf-dvb.ko
                insmod cx88xx.ko
                insmod cx8800.ko
                insmod cx8802.ko
                insmod cx88-dvb.ko
        fi
        if [ -n "$HAS_BT878" ]; then
                modprobe firmware_class
                insmod bttv.ko
                insmod ../dvb-kernel/build-2.6/bt878.ko
                insmod ../dvb-kernel/build-2.6/dst.ko
                insmod ../dvb-kernel/build-2.6/sp887x.ko
                insmod ../dvb-kernel/build-2.6/dvb-bt8xx.ko
        fi
        echo "done."
}

stop() {
        echo -n -e "Removing DVICO related modules from kernel:"
        for i in dvb-bt8xx sp887x dst bt878 bttv cx88-dvb cx22702 mt352
video-buf-dvb cx8802 cx8800 cx88xx dvb-core videodev i2c-algo-bit
v4l1-compat v4l2-common i2c-core btcx-risc video_buf
        do
                if fgrep -q $i /proc/modules || fgrep -q `echo $i | sed 
s/-/_/g` /proc/modules
                then
                        echo -n " $i,"
                        rmmod $i || rmmod `echo $i | sed s/-/_/g`
                fi
        done
        echo " done."
}

# See how we were called.
case "$1" in
  start)
        stop
        start
        ;;
  stop)
        stop
        ;;
  *)
        echo $"Usage: $prog {start|stop}"
        exit 1
esac

exit $RETVAL

which is very similar to Chris Pascoe's.  I have Avermedia DVB-T cards
but use chris's drivers.

Dave


On Sun, 20 Feb 2005 22:45:05 +1000, David Whyte <[EMAIL PROTECTED]> wrote:
> I added a link in my /etc/rc.5 folder so that the DVB-Init.sh stop and
> DVB-Init.sh start is run on every boot.
> 
> Works for me :P
> 
> Whytey
> 
> 
> On Sun, 20 Feb 2005 23:17:29 +1100, Ganga Varatharajan
> <[EMAIL PROTECTED]> wrote:
> >
> > Although my DNTV card works now, I find that I need to reload the drivers
> > everytime I start FC3/2.6.9. Otherwise /dev/dvb won't appear. Using Chris
> > Pascoe's drivers I need to run "DVB-Init.sh stop" then "DVB-Init.sh start"
> > (which does a bunch of insmod's). /dev/dvb appears with adapter0, which I
> > then change ownership to mythtv:mythtv (my mythtv user).
> >
> > While this is OK on my trial desktop system, when I move to a dedicated HTPC
> > I don't want to have to do this everytime.
> >
> > Any help would be appreciated. Thanks.
> > _______________________________________________
> > mythtv-users mailing list
> > [email protected]
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> 
> 
> --
> GMAIL is 'da bomb baby....YEAH
> 
> I have GMail invites, if you want one, email me direct.
> 


-- 
GMAIL is 'da bomb baby....YEAH

I have GMail invites, if you want one, email me direct.
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to