tools/usb-cdc-ecm/start_network.sh: remove parameters to read
The `read` implementation on my system doesn't know a `-n` parameter:
tools/usb-cdc-ecm/start_network.sh: 100: read: Illegal option -n
As the command is only used to block if no terminal is started, we can
as well remove them.
This commit is contained in:
parent
f48147b585
commit
6ac24d1a95
4
dist/tools/usb-cdc-ecm/start_network.sh
vendored
4
dist/tools/usb-cdc-ecm/start_network.sh
vendored
@ -97,8 +97,8 @@ fi
|
|||||||
|
|
||||||
if [ -z "${PORT}" ]; then
|
if [ -z "${PORT}" ]; then
|
||||||
echo "Network enabled over CDC-ECM"
|
echo "Network enabled over CDC-ECM"
|
||||||
read -n 1 -s -p "Press any key to stop"
|
echo "Press Return to stop"
|
||||||
echo
|
read dummy
|
||||||
else
|
else
|
||||||
${USB_CDC_ECM_DIR}/../pyterm/pyterm -p "${PORT}"
|
${USB_CDC_ECM_DIR}/../pyterm/pyterm -p "${PORT}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user