From 8ec57de248d08d4599b3a23999e1d5f8dcf973f4 Mon Sep 17 00:00:00 2001 From: dman776 Date: Sat, 22 Aug 2020 09:50:58 -0500 Subject: [PATCH] bugfix: correct lower-case translation for hostname (#555) --- files/usr/local/bin/aredn_message.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/aredn_message.sh b/files/usr/local/bin/aredn_message.sh index c0d66edc..c53fca2d 100755 --- a/files/usr/local/bin/aredn_message.sh +++ b/files/usr/local/bin/aredn_message.sh @@ -39,7 +39,7 @@ ping -q -W10 -c1 downloads.arednmesh.org > /dev/null && [ -f /tmp/aredn_message ] && rm /tmp/aredn_message -nodename=$(echo "$HOSTNAME" | tr '[:upper:]' '[:lower:]') +nodename=$(echo "$HOSTNAME" | tr 'A-Z' 'a-z') if [ $online = "true" ] then