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