announcement-box/bin/emergency-freeform

22 lines
168 B
Plaintext
Raw Normal View History

#!/bin/bash
source pa-lib
pa-preheat
2020-12-17 19:08:59 +00:00
pa-volume-loud-if-inactive
emergency-light on
2020-12-17 19:08:59 +00:00
pa-alarm-start
2020-12-17 19:08:59 +00:00
sleep 5
pa-say "$@"
2020-12-17 19:08:59 +00:00
sleep 5
emergency-light off
pa-shutdown