aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 14:41:34 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-08 14:41:34 +0000
commit888ead8b0ae2de27d651233bc94940233dd13bea (patch)
tree7f306dde8fd0f3c70aed7a4b28d6a47dac7adfb8 /contrib
parentaac52239ee7376079c1069b40a6de27ef819c438 (diff)
Merged revisions 115546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r115546 | russell | 2008-05-08 09:41:12 -0500 (Thu, 08 May 2008) | 12 lines Merged revisions 115545 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115545 | russell | 2008-05-08 09:40:53 -0500 (Thu, 08 May 2008) | 4 lines Use the same method for executing Asterisk as the rest of the script. (closes issue #12611) Reported by: b_plessis ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115547 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/init.d/rc.debian.asterisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk
index b5b150c98..6a556f2f7 100755
--- a/contrib/init.d/rc.debian.asterisk
+++ b/contrib/init.d/rc.debian.asterisk
@@ -53,7 +53,7 @@ case "$1" in
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