Update homeassistant-v3.sh
This commit is contained in:
parent
2044b18edb
commit
f874f038ab
1 changed files with 5 additions and 5 deletions
|
@ -115,15 +115,15 @@ header_info
|
||||||
echo -e "${GN}Using CT Password ${BGN}$PW1${CL}"
|
echo -e "${GN}Using CT Password ${BGN}$PW1${CL}"
|
||||||
echo -e "${GN}Using ID ${BGN}$CT_ID${CL}"
|
echo -e "${GN}Using ID ${BGN}$CT_ID${CL}"
|
||||||
echo -e "${YW}Enter CT Name (no spaces), or Press [ENTER] for Default: $APP "
|
echo -e "${YW}Enter CT Name (no spaces), or Press [ENTER] for Default: $APP "
|
||||||
read CT_NAME
|
read CT_NAME1
|
||||||
if [ -z $CT_NAME ]; then
|
if [ -z $CT_NAME1 ]; then
|
||||||
CT_NAME=$NSAPP;
|
CT_NAME=$NSAPP;
|
||||||
HN=$NSAPP
|
HN=$NSAPP
|
||||||
else
|
else
|
||||||
|
CT_NAME=$CT_NAME1;
|
||||||
HN=$(echo ${CT_NAME,,} | tr -d ' ')
|
HN=$(echo ${CT_NAME,,} | tr -d ' ')
|
||||||
echo -en "${GN}Set CT Name To ${BL}$CT_NAME${CL}"
|
|
||||||
fi
|
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"
|
echo -e " ${CM}${CL} \r"
|
||||||
sleep 1
|
sleep 1
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Reference in a new issue