[asterisk-bugs] [Asterisk 0014730]: Fix runlevels in Debian rc files

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 11 13:19:20 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14730 
====================================================================== 
Reported By:                pkempgen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14730
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-23 21:17 CDT
Last Modified:              2009-06-11 13:19 CDT
====================================================================== 
Summary:                    Fix runlevels in Debian rc files
Description: 
This is about fixing the runlevels on Debian.

Here's my lovingly handcrafted diff of the Makefile:
-------------------
                 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 15; fi; \
                 elif [ -f /etc/gentoo-release ]; then \
-------------------
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-11 13:19 lmadsen        Summary                  make config on Debian
=> Fix runlevels in Debian rc files
======================================================================




More information about the asterisk-bugs mailing list