announcement-box/bin/emergency-test

30 lines
520 B
Plaintext
Raw Normal View History

#!/bin/bash
source pa-lib
pa-preheat
pa-announcement-quickest
pa-volume-normal
pa-say "Test of emergency warning system will begin."
sleep 1
emergency-light on
pa-volume-loud
pa-say "This is only a test. In the event of an emergency, this emergency warning light would be used to declare an emergency."
pa-say "This is only a test."
sleep 1
emergency-light off
pa-volume-normal
pa-say "This was a test of the emergency warning light system. Thank you for your cooperation."
pa-announcement-quick
pa-shutdown