[asterisk-users] how to disable wctdm auto modprobe during boot

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Sep 17 02:55:50 CDT 2007


On Mon, Sep 17, 2007 at 09:36:27AM +0200, gincantalupo wrote:
> Hi Tzafrir,
> 
> Tzafrir Cohen wrote:
> > On Thu, Sep 13, 2007 at 05:32:25PM +0200, gincantalupo wrote:
> >   
> >> Hi,
> >> I've installed Asterisk with a TDM400P on a Debian Etch distro.
> >> When I reboot the server I get zaptel and wctdm automatically loaded.
> >> I'd like to avoid this behaviour.
> >>     
> >
> > Why exactly would you like to disable this?
> > If this is done to affect the Zaptel cards registration order, then load
> > the module manually before it gets loaded automaticaly: add it to
> > /etc/modules .
> >
> >   
> I'd like to disable it because I have my own script which generates 
> zaptel.conf files and starts up all the cards on my system.
>
> I surely could unload wctdm module inside my script then reload it after 
> loading other cards modules but it is not a fair solution...it is what 
> I've always done so far before revisiting my script.
>
> The right thing would be to disable this automatic behaviour during boot 
> but I'm still searching the right place where that's done.
> 

/etc/modules ?

As an example of generating it in a script, see genzaptelconf (running
it with the options -sdM . The module probing is generally the simpler
part in it).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list