#!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # Help nvidia come to life. /sbin/modprobe nvidia /bin/chmod -c 0666 /dev/nvidia* # Help nvram-wakeup. /sbin/modprobe nvram # Load the kernel modules needed. #/sbin/modprobe cxx88-dvb #/sbin/modprobe msp3400 #/sbin/modprobe ivtv # Try to start mythbackend now, after the card(s) has/have been turned on. #/etc/rc.d/init.d/mythbackend start #/bin/sleep 3 #/etc/rc.d/init.d/mythbackend stop #/etc/rc.d/init.d/mythbackend start # Start with cx88-dvb for the HD-3000 card. /sbin/modprobe cx88-dvb /bin/sleep 5 # Next, ivtv for the PVR-250 (or PVR-350) card. /sbin/modprobe ivtv /bin/sleep 10 # Next, b2c2-flexcop-pci for the Air2PC HD-5000 card. /sbin/modprobe b2c2-flexcop-pci /bin/sleep 5 # Now, mythbackend should be able to start. /sbin/service mythbackend start /bin/sleep 5 # Try to enable Closed Captioning. /usr/local/bin/ivtvctl -x 1 -w cc -b cc # Tell the audience that we're finished. /bin/echo Done with cx88-dvb, ivtv, b2c2-flexcop-pci, mythbackend bringup.