diff --git a/ct/zigbee2mqtt-v3.sh b/ct/zigbee2mqtt-v3.sh index 87b38d47..432fbd17 100644 --- a/ct/zigbee2mqtt-v3.sh +++ b/ct/zigbee2mqtt-v3.sh @@ -73,7 +73,7 @@ function advanced_settings() { clear header_info echo -e "${RD}Using Advanced Settings${CL}" - echo -e "${YW}Type Privileged, or Press [ENTER] for Default: Privileged " + echo -e "${YW}Type Unprivileged, or Press [ENTER] for Default: Privileged " read CT_TYPE1 if [ -z $CT_TYPE1 ]; then CT_TYPE1="Privileged" CT_TYPE="0"; echo -en "${GN}Set CT Type ${BL}$CT_TYPE1${CL}" @@ -310,7 +310,7 @@ function cleanup() { popd >/dev/null rm -rf $TEMP_DIR } - if [ "$IM" == "1" ]; then + if [ "$CT_TYPE" == "1" ]; then FEATURES="nesting=1,keyctl=1" else FEATURES="nesting=1"