[asterisk-commits] tilghman: branch 1.4 r213899 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 24 21:40:27 CDT 2009


Author: tilghman
Date: Mon Aug 24 21:40:22 2009
New Revision: 213899

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213899
Log:
Use the default runlevels for Debian derivatives, instead of making up our own.
(closes issue #14730)
 Reported by: pkempgen

Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/Makefile?view=diff&rev=213899&r1=213898&r2=213899
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon Aug 24 21:40:22 2009
@@ -671,7 +671,7 @@
 			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; \




More information about the asterisk-commits mailing list