[asterisk-bugs] [Asterisk 0012687]: [patch] rc.debian.asterisk ubuntu 8.04 hardy

noreply at bugs.digium.com noreply at bugs.digium.com
Mon May 19 22:16:45 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12687 
====================================================================== 
Reported By:                loloski
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12687
Category:                   . I did not set the category correctly.
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-19-2008 21:54 CDT
Last Modified:              05-19-2008 22:16 CDT
====================================================================== 
Summary:                    [patch] rc.debian.asterisk ubuntu 8.04 hardy
Description: 
Good day, today i stumble on hardy as to how asterisk would start, i found
out that this particular section of script

	if [ "${VERSION:0:8}" = "Asterisk" ]; then # otherwise "Unable t"
 		echo "Asterisk is already running.  $0 will exit now."
 		exit 1
 	fi

is not applicable if your are using a #!/bin/sh interpreter instead of
#!/bin/bash, on redhat system or equivalent /bin/sh is a symlink of
/bin/bash


a simple fix for this is to replace #!/bin/sh with #!/bin/bash or please
see attached patch for details 

====================================================================== 

---------------------------------------------------------------------- 
 loloski - 05-19-08 22:16  
---------------------------------------------------------------------- 
this is a minor annoyance, but a show stopper for starters on debian
derivatives IMHO :). 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-19-08 22:16  loloski        Note Added: 0087052                          
======================================================================




More information about the asterisk-bugs mailing list