diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-05-08 14:41:12 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-05-08 14:41:12 +0000 |
commit | 0f1b96623b4198b1ad170e319ddddd3659ef6497 (patch) | |
tree | 41b6aae849e44f47f7a392c7e92bd8f739714232 /contrib | |
parent | 56aa9b9efa1c6f1d34fd1e852d427b7831e339e1 (diff) |
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: https://origsvn.digium.com/svn/asterisk/trunk@115546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/init.d/rc.debian.asterisk | 2 |
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 |