Update zigbee2mqtt-v3.sh

This commit is contained in:
tteckster 2022-04-15 13:24:43 -04:00 committed by GitHub
parent e754ffc82e
commit 16a8d14dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,19 +353,6 @@ lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
EOF EOF
if [ "$DHCP" == "1" ]; then
MAC=$(pct config $CTID \
| grep -i hwaddr \
| awk '{print substr($2, 31, length($3) 17 ) }') \
echo -e "MAC Address ${BL}$MAC${CL}"
dhcp_reservation(){
printf "Please set DHCP reservation and press Enter."
read
}
dhcp_reservation
fi
echo -en "${GN} Starting LXC Container... " echo -en "${GN} Starting LXC Container... "
pct start $CTID pct start $CTID