From 47b7fbb437a8f2988b60b906bc2a782888e060b0 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Fri, 10 Oct 2008 18:29:12 +0000 Subject: Fix 'make config' for distros with no chkconfig and no update-rc.d . This would cause the error on 'make config' for "unknown command dahdi", and 'make -n config' would show that it tries to run "dahdi defaults 15 30" git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5082 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6efc5b6..c41619a 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ ifeq (,$(DESTDIR)) ifneq (,$(CHKCONFIG)) ADD_INITD := $(CHKCONFIG) --add dahdi else - ifndef (,$(UPDATE_RCD)) + ifneq (,$(UPDATE_RCD)) ADD_INITD := $(UPDATE_RCD) dahdi defaults 15 30 endif endif -- cgit v1.2.3