Update zigbee2mqtt-v3.sh

This commit is contained in:
tteckster 2022-04-19 04:48:35 -04:00 committed by GitHub
parent b5d1fb21fd
commit 229539f58d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ CL=`echo "\033[m"`
BFR="\\r\\033[K" BFR="\\r\\033[K"
HOLD="-" HOLD="-"
CM="${GN}${CL}" CM="${GN}${CL}"
CROSS="${RD}${CL}"
APP="Zigbee2MQTT" APP="Zigbee2MQTT"
NSAPP=$(echo ${APP,,} | tr -d ' ') NSAPP=$(echo ${APP,,} | tr -d ' ')
while true; do while true; do
@ -90,7 +91,7 @@ function advanced_settings() {
clear clear
header_info header_info
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 ${CROSS}${YW}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 "${DGN}Set CT Type ${BL}$CT_TYPE1${CL}" echo -en "${DGN}Set CT Type ${BL}$CT_TYPE1${CL}"