On Oct 9, 2008, at 10:54 AM, Tom Chadwin wrote: > Can you put the option in rc.conf, under MODOPTS?
I don't do analog cards, but... -- /etc/rc snippet -- if [ -n "$MODOPTS" ]; then for i in $MODOPTS; do MOD=`echo $i | cut -d: -f1` OPT=`echo $i | cut -d: -f2` echo "options $MOD $OPT" >> /tmp/etc/modprobe.conf done fi -- /etc/rc snippet -- So, it would imply MODOPTS="wctdm:debug=1" would do what Mart wants. This is also documented in /stat/etc/rc.conf ##If you define this variable, we will automatically generate modprobe.conf ##for you. modprobe reads this file before loading any modules in the OS. ##Format is modulename:option ##As always, you can pass multiple options and modules with spaces. #MODOPTS="wctdm:opermode=UK" Lonnie > On 9 Oct 2008, at 13:41, "Martin Rogers" <fromastlinux- > [EMAIL PROTECTED]> wrote: > >> Hi >> >> I would like to update /etc/modprobe.conf to enable debugging of the >> wctdm card (I am suffering occasional disconnects when connected over >> the PSTN). >> >> I have remounted the disk as RO and added the line >> >> options wctdm debug=1 >> >> /etc/modprobe.conf and successfully saved the file. However after >> rebooting the file is reverting to its previous form, before my >> update. >> >> I have tried putting the new copy of modprobe.conf in /mnt/kd but the >> update still does not make it into the /etc/modprobe.conf. >> >> How do I update the file. >> >> Thanks in advance. >> Mart >> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]