Remco Barende
2005-Mar-23 09:15 UTC
[Asterisk-Users] Where to put the modules to start on boot?
Sorry for this kinda n00b question but I've been looking through the wikis but didn't find the answer. All info pages tell you how to load modules from the commandline but what is the `proper' way to do this at boot time? My gentoo box has a /etc/modules.autoload.d/kernel-2.6 but there is no such thing on RedHat boxes. Where do you put the module load and init commands on a RHEL 4 box and where to put it on a RHEL 3 box? Thanks! Remco
Steven Critchfield
2005-Mar-23 09:22 UTC
[Asterisk-Users] Where to put the modules to start on boot?
On Wed, 2005-03-23 at 17:15 +0100, Remco Barende wrote:> Sorry for this kinda n00b question but I've been looking through the wikis > but didn't find the answer. All info pages tell you how to load modules > from the commandline but what is the `proper' way to do this at boot time? > > My gentoo box has a /etc/modules.autoload.d/kernel-2.6 but there is no > such thing on RedHat boxes. > > Where do you put the module load and init commands on a RHEL 4 box and > where to put it on a RHEL 3 box?See, this isn't an asterisk specific questions. It becomes a distro specific question. Continue looking for a /etc/modules.conf or /etc/modules or even /etc/conf.modules -- Steven Critchfield <critch@basesys.com>
Time Bandit
2005-Mar-23 14:30 UTC
[Asterisk-Users] Where to put the modules to start on boot?
> Where do you put the module load and init commands on a RHEL 4 box and > where to put it on a RHEL 3 box?If you are talking about loading the Zaptel modules, here's the easy way : - Go in your Zaptel src directory (usually /usr/src/zaptel) - # make config (this wil copy the init script) N.B.: if you are running on a 2.6 kernel, you need to edit the script Open file /etc/init.d/zaptel and change all "insmod" with "modprobe" and "rmmod" with "modprobe -r" hth