浏览代码

Update zigbee2mqtt-v3.sh

tteckster 3 年之前
父节点
当前提交
714de2f2c4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ct/zigbee2mqtt-v3.sh

+ 2 - 2
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"