mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-21 22:55:53 +00:00
Create bootspeak
Speak the IP address of Brooklyn every time it starts up via audio port.
This commit is contained in:
parent
da25e1f405
commit
2c3fa0ca89
7
bootspeak
Normal file
7
bootspeak
Normal file
@ -0,0 +1,7 @@
|
||||
_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
|
Loading…
x
Reference in New Issue
Block a user