From f874f038ab9094d4ee2b8b49477342e29e8eb21d Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 14:12:15 -0400 Subject: [PATCH] Update homeassistant-v3.sh --- ct/homeassistant-v3.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ct/homeassistant-v3.sh b/ct/homeassistant-v3.sh index 4c696d2e..29174306 100644 --- a/ct/homeassistant-v3.sh +++ b/ct/homeassistant-v3.sh @@ -115,15 +115,15 @@ header_info echo -e "${GN}Using CT Password ${BGN}$PW1${CL}" echo -e "${GN}Using ID ${BGN}$CT_ID${CL}" echo -e "${YW}Enter CT Name (no spaces), or Press [ENTER] for Default: $APP " - read CT_NAME - if [ -z $CT_NAME ]; then + read CT_NAME1 + if [ -z $CT_NAME1 ]; then CT_NAME=$NSAPP; HN=$NSAPP else - HN=$(echo ${CT_NAME,,} | tr -d ' ') - echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" + CT_NAME=$CT_NAME1; + HN=$(echo ${CT_NAME,,} | tr -d ' ') fi -# echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" + echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" echo -e " ${CM}${CL} \r" sleep 1 clear