From 59474e96eb21c04e219938cf96ad6163c36bad6b Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 14:24:15 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 7527965d..493b3f74 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -116,15 +116,10 @@ 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_NAME1 - if [ -z $CT_NAME1 ]; then - CT_NAME=$NSAPP; - HN=$NSAPP - else - CT_NAME=$CT_NAME1; - HN=$(echo ${CT_NAME,,} | tr -d ' ') - fi - echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" + read CT_NAME + if [ -z $CT_NAME ]; then CT_NAME=$APP; HN=$(echo ${CT_NAME,,} | tr -d ' '); fi + if [ $CT_NAME ]; then HN=$(echo ${CT_NAME,,} | tr -d ' '); fi + echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}" echo -e " ${CM}${CL} \r" sleep 1 clear