From 03442f2289351477e1852f163b807972f86c372e Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Apr 2022 14:16:26 -0400 Subject: [PATCH] Update debian-v3.sh --- ct/debian-v3.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index 1adeb340..d38b9971 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -115,10 +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 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}" + 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}" echo -e " ${CM}${CL} \r" sleep 1 clear