40 lines
640 B
Bash
Executable File
40 lines
640 B
Bash
Executable File
#!/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-alarm-start
|
|
sleep 5
|
|
pa-alarm-stop
|
|
|
|
sleep 1
|
|
|
|
#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
|
|
|