Index: safe_asterisk =================================================================== RCS file: /usr/cvsroot/asterisk/contrib/scripts/safe_asterisk,v retrieving revision 1.7 diff -u -r1.7 safe_asterisk --- safe_asterisk 25 Jul 2004 23:12:33 -0000 1.7 +++ safe_asterisk 25 Nov 2004 17:42:10 -0000 @@ -3,6 +3,7 @@ TTY=9 # TTY (if you want one) for Asterisk to run on CONSOLE=yes # Whether or not you want a console #NOTIFY=ben@alkaloid.net # Who to notify about crashes +MACHINE=idefix # To specify which machine has crashed when getting the mail DUMPDROP=/tmp # # Don't fork when running "safely" @@ -58,7 +59,7 @@ let EXITSIGNAL=EXITSTATUS-128 echo "Asterisk exited on signal $EXITSIGNAL." if [ "$NOTIFY" != "" ]; then - echo "Asterisk exited on signal $EXITSIGNAL. Might want to take a peek." | \ + echo "$MACHINE exited on signal $EXITSIGNAL. Might want to take a peek." | \ mail -s "Asterisk Died" $NOTIFY fi if [ -f /tmp/core ]; then