[EMAIL PROTECTED] wrote: > I believe you can set this option in the file > /etc/modprobe.conf. > > --- Robert Teel <[EMAIL PROTECTED]> wrote: > > >>When you reboot the computer, how do you set the >>ivtv driver to use tuner 0 >>(or any other setting for that matter), without >>explicitly typing in the >>commands on the shell? >> >>Do I have to write a bootscript? >> >> >>Thanks, >>Rob >> >>>_______________________________________________ >> >>ivtv-devel mailing list >>[email protected] >>http://ivtvdriver.org/mailman/listinfo/ivtv-devel > > > > _______________________________________________ > ivtv-devel mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-devel
You can do this in /etc/rc.modules. It is a shell script, nonexisting at installation. From http://www.city-fan.org/ftp/contrib/drivers/advansys/ ... Making Sure the Advansys Module Loads at Boot Time If you're booting from a SCSI disk attached to your Advansys card then this isn't an issue, because the advansys module is included in the initrd and is loaded at a very early stage of the boot process. Otherwise, you just need to choose somewhere to put the command: modprobe advansys The conventional place for this would be /etc/rc.modules, which will work fine if you're using an up to date kernel. If, however, you're still using old kernels that need the dkms system to build the module at boot time when you change kernels, you'll need to load the module later in the boot process, so /etc/rc.d/rc.local would probably be a better choice. If you're creating /etc/rc.modules or /etc/rc.d/rc.local from scratch, make sure the file is executable: # chmod 755 /etc/rc.modules or # chmod 755 /etc/rc.d/rc.local In Fedora Core 4, a new method is available for module loading: simply create a file with a name ending with .modules in directory /etc/sysconfig/modules and make it executable. Whatever you put into that file will be executed when the system boots up. # (echo '#!/bin/sh'; echo 'modprobe advansys') > /etc/sysconfig/modules/advansys.modules # chmod +x /etc/sysconfig/modules/advansys.modules ... Regards, Bob -- Bob Marcan, Consultant mailto:[EMAIL PROTECTED] S&T Hermes Plus d.d. tel: +386 (1) 5895-300 Leskoskova cesta 6 fax: +386 (1) 5895-202 1000 Ljubljana, Slovenia url: http://www.snt.si _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
