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

Re: how to silence speaker during reboot/halt



On Tue,11.Aug.09, 10:53:20, Johann Spies wrote:
> On Tue, Aug 11, 2009 at 10:47:53AM +0200, Johann Spies wrote:
> > On Tue, Aug 11, 2009 at 11:14:26AM +0300, Andrei Popescu wrote:
> 
> > > install pcspkr /bin/true
> > > 
> > 
> > Can you explain this please?  I don't find 'pcspkr' anywhere. 
> 
> Apologies.  I was searching for a package named pcspkr and forgot that
> it is a kernel module.  Still, I don't understand your syntax:
> "install pcspkr /bin/true".

It's an ugly hack for modules that don't listen to 'blacklist'. The 
'install' directive tells modprobe to run '/bin/true' to "load" the 
module. Because '/bin/true' does nothing the module is not loaded ;)

See the manpage for modprobe.conf for more info.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: