[asterisk-commits] lmadsen: branch 10 r337116 - in /branches/10: ./ contrib/init.d/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 20 17:19:05 CDT 2011


Author: lmadsen
Date: Tue Sep 20 17:19:04 2011
New Revision: 337116

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=337116
Log:
Merged revisions 337115 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r337115 | lmadsen | 2011-09-20 17:18:25 -0500 (Tue, 20 Sep 2011) | 7 lines
  
  Update RedHat Init script to work with Heartbeat.
  
  The current RedHat init script was not LSB compatible. This change will make it LSB compatible so that
  it can work correctly with Heartbeat.
  
  (Closes issue ASTERISK-18253)
  Reported by: c0rnoTa
........

Modified:
    branches/10/   (props changed)
    branches/10/contrib/init.d/rc.redhat.asterisk

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/contrib/init.d/rc.redhat.asterisk
URL: http://svnview.digium.com/svn/asterisk/branches/10/contrib/init.d/rc.redhat.asterisk?view=diff&rev=337116&r1=337115&r2=337116
==============================================================================
--- branches/10/contrib/init.d/rc.redhat.asterisk (original)
+++ branches/10/contrib/init.d/rc.redhat.asterisk Tue Sep 20 17:19:04 2011
@@ -74,7 +74,7 @@
 	VERSION=`${AST_SBIN}/asterisk -rx 'core show version'`
 	if [ "`echo $VERSION | cut -c 1-8`" = "Asterisk" ]; then
 		echo "Asterisk is already running."
-		exit 1
+		exit 0
 	fi
 
 	# Start daemons.




More information about the asterisk-commits mailing list