mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
BSP: fix incorrect logging for USB Gadget script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user