[asterisk-bugs] [Asterisk 0014864]: LSB header for init scripts

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Apr 11 09:04:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14864 
====================================================================== 
Reported By:                lathama
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14864
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.7 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-08 15:47 CDT
Last Modified:              2009-04-11 09:04 CDT
====================================================================== 
Summary:                    LSB header for init scripts
Description: 
Add LSB headers to init scripts.

Suggestion

### BEGIN INIT INFO
# Provides:          asterisk
# Required-Start:    $network $local_fs $syslog
# Required-Stop:     $network $local_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start Asterisk at boot time
# Description:       Asterisk a software PBX and VoIP glue.
### END INIT INFO

For all platforms.
http://wiki.debian.org/LSBInitScripts

eg.. asterisk/contrib/init.d/rc.debian.asterisk
====================================================================== 

---------------------------------------------------------------------- 
 (0103106) tzafrir (manager) - 2009-04-11 09:04
 http://bugs.digium.com/view.php?id=14864#c103106 
---------------------------------------------------------------------- 
The standard is originally based on the comments convention from SUSE with
adjustmets for RedHat.

Names of services tend to differ a bit between distributions.

It would also help if Asterisk starts after the Zaptel / DAHDI modules are
loaded:

Should-Start: dahdi 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-11 09:04 tzafrir        Note Added: 0103106                          
======================================================================




More information about the asterisk-bugs mailing list