Index: contrib/scripts/safe_asterisk =================================================================== RCS file: /usr/cvsroot/asterisk/contrib/scripts/safe_asterisk,v retrieving revision 1.8 diff -u -r1.8 safe_asterisk --- contrib/scripts/safe_asterisk 1 Dec 2004 05:10:32 -0000 1.8 +++ contrib/scripts/safe_asterisk 13 Aug 2005 19:35:38 -0000 @@ -5,6 +5,7 @@ #NOTIFY=ben@alkaloid.net # Who to notify about crashes MACHINE=`hostname` # To specify which machine has crashed when getting the mail DUMPDROP=/tmp +ASTERISK_BIN=/usr/sbin/asterisk # # Don't fork when running "safely" # @@ -44,7 +45,7 @@ if [ "$TTY" != "" ]; then cd /tmp stty sane < /dev/${TTY} - asterisk ${CLIARGS} ${ASTARGS} >& /dev/${TTY} < /dev/${TTY} + ${ASTERISK_BIN} ${CLIARGS} ${ASTARGS} >& /dev/${TTY} < /dev/${TTY} else cd /tmp asterisk ${CLIARGS} ${ASTARGS}