Brooklyn/bootspeak
Scare Crowe 2c3fa0ca89
Create bootspeak
Speak the IP address of Brooklyn every time it starts up via audio port.
2021-06-04 12:50:06 +05:00

8 lines
206 B
Plaintext

_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
espeak "Welcome to Brooklyn. My I.P. is $_IP. I repeat: $_IP"
else
espeak "Welcome to Brooklyn. No I.P. found."
fi