Re: Audible bell on console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 03, 2006 at 05:24:00PM +0200, Dario Lesca wrote:
> Il giorno lun, 03/04/2006 alle 16.10 +0200, Alexander Dalloz ha scritto:
> 
> > I guess `modprobe pcspkr' will help.
> > 
> > Alexander
> Thank Alexander, witch is the best way for load it at boot?
> a) put some line (what line?) in to /etc/modprobe.conf
> b) put 'modprobe pcspkr' into /etc/rc.local

If you look in /etc/rc.d/rc.sysinit, you'll see that it runs
scripts in /etc/sysconfig/modules/*.modules:

   # Load other user-defined modules
   for file in /etc/sysconfig/modules/*.modules ; do
     [ -x $file ] && $file
   done

   # Load modules (for backward compatibility with VARs)
   if [ -f /etc/rc.modules ]; then
           /etc/rc.modules
   fi


On my workstations, I have:

% sudo cat /etc/sysconfig/modules/pcspkr.modules 
#!/bin/sh
/sbin/modprobe pcspkr

% ls -l /etc/sysconfig/modules/pcspkr.modules
-r-x------  1 root root 32 Mar 24 13:42 /etc/sysconfig/modules/pcspkr.modules*

Regards,

	-Bill


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux