mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update zwavejs2mqtt-v3.sh
This commit is contained in:
parent
cf2961e5a2
commit
9f99ef2b22
@ -292,19 +292,6 @@ lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=
|
|||||||
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
|
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
|
||||||
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
|
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 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
|
||||||
|
Loading…
Reference in New Issue
Block a user