[asterisk-commits] russell: branch 1.4 r115545 - /branches/1.4/contrib/init.d/rc.debian.asterisk

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 8 09:40:54 CDT 2008


Author: russell
Date: Thu May  8 09:40:53 2008
New Revision: 115545

URL: http://svn.digium.com/view/asterisk?view=rev&rev=115545
Log:
Use the same method for executing Asterisk as the rest of the script.
(closes issue #12611)
Reported by: b_plessis

Modified:
    branches/1.4/contrib/init.d/rc.debian.asterisk

Modified: branches/1.4/contrib/init.d/rc.debian.asterisk
URL: http://svn.digium.com/view/asterisk/branches/1.4/contrib/init.d/rc.debian.asterisk?view=diff&rev=115545&r1=115544&r2=115545
==============================================================================
--- branches/1.4/contrib/init.d/rc.debian.asterisk (original)
+++ branches/1.4/contrib/init.d/rc.debian.asterisk Thu May  8 09:40:53 2008
@@ -53,7 +53,7 @@
   start)
 	# Check if Asterisk is already running.  If it is, then bug out, because
 	# starting up Asterisk when Asterisk is already running is very bad.
-	VERSION=`${ASTSBINDIR}/asterisk -rx 'core show version'`
+	VERSION=`${DAEMON} -rx 'core show version'`
 	if [ "${VERSION:0:8}" = "Asterisk" ]; then # otherwise "Unable t"
 		echo "Asterisk is already running.  $0 will exit now."
 		exit 1




More information about the asterisk-commits mailing list