From e88502949fd8cbe7edf37dd76c2b2c2286a88ff8 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Tue, 8 Jul 2008 21:10:02 +0000 Subject: - 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 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3