--- [EMAIL PROTECTED] wrote:

> I tried to run lsmod but I could'nt get the format
> right 
> bash: lsmod: command not found

try /sbin/lsmod

<snip>
> 


> Thanks guys,
> 

I had to make a startup script that runs before
mythbackend so that my tuners would be loaded before
mythbackend.  Pretty simple, create a file called
/etc/rc3.d/S85tuners, parte these lines into the file

#!/bin/bash
# Source function library.
. /etc/rc.d/init.d/functions


start() {
        /sbin/modprobe cx88-dvb
        /sbin/modprobe ivtv
        /usr/bin/ivtvctl -d /dev/video1 -p 6
}
stop() {
        /sbin/modprobe -r cx88-dvb
        /sbin/modprobe -r ivtv
}

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

exit $RETVAL

Make sure you comment out the dvb lines if you don't
have a dvb card.  Also make sure you chmod 755
/etc/rc3.d/S85tuners

Howard
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to