alert.sh 385 B

123456789101112131415
  1. #!/bin/bash
  2. # LGSM alert.sh function
  3. # Author: Daniel Gibbs
  4. # Website: https://gameservermanagers.com
  5. lgsm_version="140516"
  6. # Description: Overall function for managing alerts.
  7. if [ "${emailnotification}" == "on" ]||[ "${emailalert}" == "on" ]&&[ -n "${email}" ]; then
  8. alert_email.sh
  9. fi
  10. if [ "${pushbulletalert}" == "on" ]||[ -n "${pushbullettoken}" ]; then
  11. alert_pushbullet.sh
  12. fi