You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
270 B

  1. #!/bin/bash
  2. source pa-lib
  3. while [[ true ]]; do
  4. # waiting for the PSA text stream to start
  5. read
  6. pa-preheat
  7. pa-announcement
  8. pa-say "$REPLY"
  9. while read -t 4; do
  10. pa-say "$REPLY"
  11. done
  12. # no more text, terminate the PSA
  13. pa-announcement-quick
  14. pa-shutdown
  15. done