Update zigbee2mqtt-v3.sh

This commit is contained in:
tteckster 2022-04-15 08:18:00 -04:00 committed by GitHub
parent 55a211c0e5
commit 714de2f2c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"