From 55b9e0fc906d06a91e34d1d864c884c9144b61b1 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 8 Jul 2008 22:14:09 +0000 Subject: Split up modprobe.conf.sample into one file for options, and another file for the blacklist. This way updating the blacklist in a future release will not necessarily overwrite any of the users options. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4581 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8f9494b..7432cbb 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,7 @@ endif RCCONF_FILE = /etc/dahdi/init.conf MODULES_FILE = /etc/dahdi/modules MODPROBE_FILE = /etc/modprobe.d/dahdi +BLACKLIST_FILE = /etc/modprobe.d/dahdi.blacklist NETSCR_DIR := $(firstword $(wildcard /etc/sysconfig/network-scripts )) ifneq (,$(NETSCR_DIR)) @@ -267,6 +268,9 @@ endif ifeq (,$(wildcard $(DESTDIR)$(MODPROBE_FILE))) $(INSTALL) -D -m 644 modprobe.conf.sample $(DESTDIR)$(MODPROBE_FILE) endif +ifeq (,$(wildcard $(DESTDIR)$(BLACKLIST_FILE))) + $(INSTALL) -D -m 644 blacklist.sample $(DESTDIR)$(BLACKLIST_FILE) +endif ifneq (,$(COPY_NETSCR)) $(COPY_NETSCR) endif -- cgit v1.2.3