summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-07-08 21:10:02 +0000
committerShaun Ruffell <sruffell@digium.com>2008-07-08 21:10:02 +0000
commite88502949fd8cbe7edf37dd76c2b2c2286a88ff8 (patch)
tree62a7123b93f02aa63b2aa6993696cf7d7f85b0eb /Makefile
parent23bc24e215ce8d6759595e5c3ae65785004739dd (diff)
- Renamed init.conf to init.conf.sample
- Added /etc/dahdi/modules file that contains comments or the names of modules to load. - Removed the MODULES variable from /etc/dahdi/init.conf. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4578 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8faf4ab..8f206d1 100644
--- a/Makefile
+++ b/Makefile
@@ -63,6 +63,7 @@ ifneq (,$(INITRD_DIR))
COPY_INITD := install -D dahdi.init $(INIT_TARGET)
endif
RCCONF_FILE = /etc/dahdi/init.conf
+MODULES_FILE = /etc/dahdi/modules
NETSCR_DIR := $(firstword $(wildcard /etc/sysconfig/network-scripts ))
ifneq (,$(NETSCR_DIR))
@@ -256,7 +257,10 @@ ifneq (,$(COPY_INITD))
$(COPY_INITD)
endif
ifeq (,$(wildcard $(DESTDIR)$(RCCONF_FILE)))
- $(INSTALL) -D -m 644 init.conf $(DESTDIR)$(RCCONF_FILE)
+ $(INSTALL) -D -m 644 init.conf.sample $(DESTDIR)$(RCCONF_FILE)
+endif
+ifeq (,$(wildcard $(DESTDIR)$(MODULES_FILE)))
+ $(INSTALL) -D -m 644 modules.sample $(DESTDIR)$(MODULES_FILE)
endif
ifneq (,$(COPY_NETSCR))
$(COPY_NETSCR)