#!/bin/bash if [ -f /var/lib/asterisk/brb/pressed ]; then /usr/local/sbin/allstar-restart /usr/bin/ssmtp -t < To: zabbix@megalink.network Subject: Big Red Button Pushed - $(hostname) This is the allstar-brb program on $(hostname) Asterisk was cycled at: $(date) due to someone pushing the big red button! Be well, John Spartan EOM rm -f /var/lib/asterisk/brb/pressed fi