Fixed IP fetching

pull/3/head
riley 1 year ago
parent 19e0eb4d19
commit f43d76bff1

@ -54,7 +54,7 @@ do_install_detail() {
echo "Fetching Coral device from configuration..." echo "Fetching Coral device from configuration..."
device=$(fetch_and_validate_uci tpu device) device=$(fetch_and_validate_uci tpu device)
LAN_IP=$(fetch_and_validate_uci network.lan) LAN_IP=$(uci get network.lan.ipaddr)
LAN_IP="${LAN_IP%/*}" LAN_IP="${LAN_IP%/*}"
[ -z "$port" ] && port=1880 [ -z "$port" ] && port=1880

Loading…
Cancel
Save