diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-08-25 02:41:17 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-08-25 02:41:17 +0000 |
commit | 4266f429f9e144c51f43f9a4a44836c3cf6652d0 (patch) | |
tree | fd754ac2013b49fe2f4b7f76a7f3a80a6a744071 /Makefile | |
parent | 72365bdedeb474b48e5ecbfd2e4a51dd093e371b (diff) |
Merged revisions 213899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r213899 | tilghman | 2009-08-24 21:40:22 -0500 (Mon, 24 Aug 2009) | 4 lines
Use the default runlevels for Debian derivatives, instead of making up our own.
(closes issue #14730)
Reported by: pkempgen
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@213900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -810,7 +810,7 @@ config: elif [ -f /etc/debian_version ]; then \ cat contrib/init.d/rc.debian.asterisk | sed 's|__ASTERISK_ETC_DIR__|$(ASTETCDIR)|;s|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)/etc/init.d/asterisk ;\ chmod 755 $(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 \ cat contrib/init.d/rc.gentoo.asterisk | sed 's|__ASTERISK_ETC_DIR__|$(ASTETCDIR)|;s|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)/etc/init.d/asterisk ;\ chmod 755 $(DESTDIR)/etc/init.d/asterisk;\ |