Update zigbee2mqtt-v3.sh

This commit is contained in:
tteckster 2022-04-15 08:32:34 -04:00 committed by GitHub
parent 9d6186d4e9
commit 798cf374a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -76,12 +76,13 @@ function advanced_settings() {
echo -e "${RD}Using Advanced Settings${CL}" echo -e "${RD}Using Advanced Settings${CL}"
echo -e "${YW}Type Unprivileged, or Press [ENTER] for Default: Privileged " echo -e "${YW}Type Unprivileged, or Press [ENTER] for Default: Privileged "
read CT_TYPE1 read CT_TYPE1
if [ -z $CT_TYPE1 ]; then CT_TYPE1="Privileged" CT_TYPE="0"; if [ -z $CT_TYPE1 ]; then CT_TYPE1="Privileged"
CT_TYPE="0"
echo -en "${GN}Set CT Type ${BL}$CT_TYPE1${CL}" echo -en "${GN}Set CT Type ${BL}$CT_TYPE1${CL}"
else else
CT_TYPE1="Unprivileged" CT_TYPE1="Unprivileged"
CT_TYPE="1" CT_TYPE="1"
echo -en "${GN}Set CT Type ${BL}Unprivileged${CL}" echo -en "${GN}Set CT Type ${BL}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
fi; fi;
echo -e " ${CM}${CL} \r" echo -e " ${CM}${CL} \r"
sleep 1 sleep 1