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:
Benjamin Valentin 2020-07-31 18:51:20 +02:00
parent f48147b585
commit 6ac24d1a95

View File

@ -97,8 +97,8 @@ fi
if [ -z "${PORT}" ]; then
echo "Network enabled over CDC-ECM"
read -n 1 -s -p "Press any key to stop"
echo
echo "Press Return to stop"
read dummy
else
${USB_CDC_ECM_DIR}/../pyterm/pyterm -p "${PORT}"
fi