mirror of https://github.com/armbian/build.git
BSP: fix incorrect logging for USB Gadget script
This commit is contained in:
parent
bd7fbb0fd0
commit
de9a433882
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue