BSP: fix incorrect logging for USB Gadget script

This commit is contained in:
Rolf Leggewie
2025-09-10 16:31:42 +08:00
committed by Igor
parent bd7fbb0fd0
commit de9a433882

View File

@@ -80,7 +80,7 @@ set_usbgadget_ipaddress() {
echo "unudhcpd process already exists, skip setting usb gadget ip, unudhcpd_pid is $unudhcpd_pid"
return
fi
echo "Starting dnsmasq with server ip $host_ip, client ip: $client_ip"
echo "Starting unudhcpd service with server ip $host_ip, client ip: $client_ip"
# Get usb interface
INTERFACE=""
ip a add "${host_ip}/255.255.0.0" dev usb0 2> /dev/null && ip link set usb0 up && INTERFACE=usb0