From ff3a1372fff8a359399dcfaba82193e9d181a505 Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 28 Apr 2022 07:53:13 -0400 Subject: [PATCH] Update esphome-v3.sh --- ct/esphome-v3.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/esphome-v3.sh b/ct/esphome-v3.sh index 753d2df3..b044cab7 100644 --- a/ct/esphome-v3.sh +++ b/ct/esphome-v3.sh @@ -228,7 +228,7 @@ header_info echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}vCPU${CL}" echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}" - echo -e "${YW}Enter a Static IP Address, or Press [ENTER] for Default: DHCP " + echo -e "${YW}Enter a Static IPv4 CIDR Address, or Press [ENTER] for Default: DHCP " read NET if [ -z $NET ]; then NET="dhcp"; fi; echo -en "${DGN}Set Static IP Address To ${BL}$NET${CL}" @@ -246,7 +246,7 @@ header_info echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}" echo -e "${DGN}Using Static IP Address ${BGN}$NET${CL}" - echo -e "${YW}Enter a Gateway IP, or Press [ENTER] for Default: NONE " + echo -e "${YW}Enter a Gateway IP (mandatory if static IP is used), or Press [ENTER] for Default: NONE " read GATE1 if [ -z $GATE1 ]; then GATE1="NONE" GATE=""; echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"