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

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


A NOTE has been added to this issue. 
====================================================================== 
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:                     closed
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:41 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 \
-------------------
====================================================================== 

---------------------------------------------------------------------- 
 (0109556) svnbot (reporter) - 2009-08-24 21:41
 https://issues.asterisk.org/view.php?id=14730#c109556 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 213900

_U  trunk/
U   trunk/Makefile

------------------------------------------------------------------------
r213900 | tilghman | 2009-08-24 21:41:53 -0500 (Mon, 24 Aug 2009) | 11
lines

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 https://issues.asterisk.org/view.php?id=14730)
   Reported by: pkempgen
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-24 21:41 svnbot         Checkin                                      
2009-08-24 21:41 svnbot         Note Added: 0109556                          
======================================================================




More information about the asterisk-bugs mailing list