summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-10 18:29:12 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-10 18:29:12 +0000
commit47b7fbb437a8f2988b60b906bc2a782888e060b0 (patch)
treeb5737824ed2c23644fd41030494db84aa4bb0816 /Makefile
parent6dbfd6f73e45ca777edfc1b208e0f2a233fa8acb (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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