mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-27 10:45:51 +01:00
Update zigbee2mqtt-v3.sh
This commit is contained in:
parent
9afc160cc5
commit
55a211c0e5
@ -47,8 +47,8 @@ function default_settings() {
|
|||||||
clear
|
clear
|
||||||
header_info
|
header_info
|
||||||
echo -e "${BL}Using Default Settings${CL}"
|
echo -e "${BL}Using Default Settings${CL}"
|
||||||
echo -e "${GN}Using CT Type ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
|
echo -e "${GN}Using CT Type ${BGN}Privileged${CL}"
|
||||||
CT_TYPE="1"
|
CT_TYPE="0"
|
||||||
echo -e "${GN}Using CT Password ${BGN}Automatic Login${CL}"
|
echo -e "${GN}Using CT Password ${BGN}Automatic Login${CL}"
|
||||||
PW=" "
|
PW=" "
|
||||||
echo -e "${GN}Using ID ${BGN}$NEXTID${CL}"
|
echo -e "${GN}Using ID ${BGN}$NEXTID${CL}"
|
||||||
@ -73,14 +73,14 @@ 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 Privileged, or Press [ENTER] for Default: Unprivileged (${RD}NO DEVICE PASSTHROUGH${CL}${YW})"
|
echo -e "${YW}Type Privileged, or Press [ENTER] for Default: Privileged "
|
||||||
read CT_TYPE1
|
read CT_TYPE1
|
||||||
if [ -z $CT_TYPE1 ]; then CT_TYPE1="Unprivileged" CT_TYPE="1";
|
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="Privileged"
|
CT_TYPE1="Unprivileged"
|
||||||
CT_TYPE="0"
|
CT_TYPE="1"
|
||||||
echo -en "${GN}Set CT Type ${BL}Privileged${CL}"
|
echo -en "${GN}Set CT Type ${BL}Unprivileged${CL}"
|
||||||
fi;
|
fi;
|
||||||
echo -e " ${CM}${CL} \r"
|
echo -e " ${CM}${CL} \r"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
Loading…
Reference in New Issue
Block a user