aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-25 02:40:22 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-08-25 02:40:22 +0000
commite7c4ccee7fb7f84cb61cbe1f5a06667bfbbc21e5 (patch)
tree7b315706c561d0b8511ac3adac19f7e6d868ebd8
parent372f90a15dfe3c99988678b6a289115820a84f7e (diff)
Use the default runlevels for Debian derivatives, instead of making up our own.
(closes issue #14730) Reported by: pkempgen git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@213899 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 44d029c68..39098c413 100644
--- a/Makefile
+++ b/Makefile
@@ -671,7 +671,7 @@ config:
if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add asterisk; fi; \
elif [ -f /etc/debian_version ]; then \
$(INSTALL) -m 755 contrib/init.d/rc.debian.asterisk $(DESTDIR)/etc/init.d/asterisk; \
- if [ -z "$(DESTDIR)" ]; then /usr/sbin/update-rc.d asterisk start 50 2 3 4 5 . stop 91 2 3 4 5 .; fi; \
+ if [ -z "$(DESTDIR)" ]; then /usr/sbin/update-rc.d asterisk defaults 50 91; fi; \
elif [ -f /etc/gentoo-release ]; then \
$(INSTALL) -m 755 contrib/init.d/rc.gentoo.asterisk $(DESTDIR)/etc/init.d/asterisk; \
if [ -z "$(DESTDIR)" ]; then /sbin/rc-update add asterisk default; fi; \