summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-07-08 22:14:09 +0000
committerShaun Ruffell <sruffell@digium.com>2008-07-08 22:14:09 +0000
commit55b9e0fc906d06a91e34d1d864c884c9144b61b1 (patch)
tree0831e5221d2498842020eb6959050af19fe5e1d7 /Makefile
parent3ac8a605e21d12c324389d1fa37766388701570d (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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