mirror of https://github.com/Qortal/Brooklyn
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.
8 lines
206 B
8 lines
206 B
3 years ago
|
_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
|