diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | modprobe.conf.sample | 18 |
2 files changed, 23 insertions, 0 deletions
@@ -62,8 +62,10 @@ ifneq (,$(INITRD_DIR)) INIT_TARGET := $(DESTDIR)$(INITRD_DIR)/dahdi COPY_INITD := install -D dahdi.init $(INIT_TARGET) endif + RCCONF_FILE = /etc/dahdi/init.conf MODULES_FILE = /etc/dahdi/modules +MODPROBE_FILE = /etc/modprobe.d/dahdi NETSCR_DIR := $(firstword $(wildcard /etc/sysconfig/network-scripts )) ifneq (,$(NETSCR_DIR)) @@ -262,6 +264,9 @@ endif ifeq (,$(wildcard $(DESTDIR)$(MODULES_FILE))) $(INSTALL) -D -m 644 modules.sample $(DESTDIR)$(MODULES_FILE) endif +ifeq (,$(wildcard $(DESTDIR)$(MODPROBE_FILE))) + $(INSTALL) -D -m 644 modprobe.conf.sample $(DESTDIR)$(MODPROBE_FILE) +endif ifneq (,$(COPY_NETSCR)) $(COPY_NETSCR) endif diff --git a/modprobe.conf.sample b/modprobe.conf.sample new file mode 100644 index 0000000..20a4b48 --- /dev/null +++ b/modprobe.conf.sample @@ -0,0 +1,18 @@ +# You should place any module parameters for your DAHDI modules here +# Example: +# +# options wctdm24xxp latency=6 + +# blacklist all the drivers by default in order to ensure that +# /etc/init.d/dahdi installs them in the correct order so that the spans are +# ordered consistently. + +blacklist wct4xxp +blacklist wcte12xp +blacklist wct1xxp +blacklist wcte11xp +blacklist wctdm24xxp +blacklist wcfxo +blacklist wctdm +blacklist xpp_usb +blacklist wctc4xxp |