announcement-box/bin/emergency-test

40 lines
640 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
2020-12-14 16:23:50 +00:00
pa-alarm-start
sleep 5
pa-alarm-stop
sleep 1
2020-12-14 16:23:50 +00:00
#pa-volume-loud
pa-say "This is only a test. In the event of an emergency, this emergency warning light along with the sound alarm would be used to declare an emergency."
sleep 1
pa-alarm-start
sleep 4
pa-say "This is only a test."
sleep 4
pa-alarm-stop
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