Update homebridge-v3.sh

pull/226/head
tteckster 2022-04-28 07:59:10 -04:00 committed by GitHub
parent 32ca4eb78a
commit 7bdca956f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ header_info
echo -e "${DGN}Using ${BGN}${CORE_COUNT}${CL}${DGN}vCPU${CL}" 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 ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}"
echo -e "${DGN}Using Bridge ${BGN}${BRG}${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 read NET
if [ -z $NET ]; then NET="dhcp"; fi; if [ -z $NET ]; then NET="dhcp"; fi;
echo -en "${DGN}Set Static IP Address To ${BL}$NET${CL}" echo -en "${DGN}Set Static IP Address To ${BL}$NET${CL}"
@ -245,7 +245,7 @@ header_info
echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}" echo -e "${DGN}Using ${BGN}${RAM_SIZE}${CL}${DGN}MiB RAM${CL}"
echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}" echo -e "${DGN}Using Bridge ${BGN}${BRG}${CL}"
echo -e "${DGN}Using Static IP Address ${BGN}$NET${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 read GATE1
if [ -z $GATE1 ]; then GATE1="NONE" GATE=""; if [ -z $GATE1 ]; then GATE1="NONE" GATE="";
echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}" echo -en "${DGN}Set Gateway IP To ${BL}$GATE1${CL}"