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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 24 21:41:00 CDT 2009


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14730 
====================================================================== 
Reported By:                pkempgen
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   14730
Category:                   Core/General
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-23 21:17 CDT
Last Modified:              2009-08-24 21:40 CDT
====================================================================== 
Summary:                    [patch] 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 \
-------------------
====================================================================== 

---------------------------------------------------------------------- 
 (0109555) svnbot (reporter) - 2009-08-24 21:40
 https://issues.asterisk.org/view.php?id=14730#c109555 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213899

U   branches/1.4/Makefile

------------------------------------------------------------------------
r213899 | tilghman | 2009-08-24 21:40:58 -0500 (Mon, 24 Aug 2009) | 4
lines

Use the default runlevels for Debian derivatives, instead of making up our
own.
(closes issue https://issues.asterisk.org/view.php?id=14730)
 Reported by: pkempgen

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=213899 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 21:40 svnbot         Note Added: 0109555                          
2009-08-24 21:40 svnbot         Status                   acknowledged =>
assigned
2009-08-24 21:40 svnbot         Assigned To               => tilghman        
2009-08-24 21:40 svnbot         Status                   assigned => resolved
2009-08-24 21:40 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list