From 6ac24d1a954b7dea3b36e06464f2f2eef2327da3 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Fri, 31 Jul 2020 18:51:20 +0200 Subject: [PATCH] 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. --- dist/tools/usb-cdc-ecm/start_network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/tools/usb-cdc-ecm/start_network.sh b/dist/tools/usb-cdc-ecm/start_network.sh index cf5dd7823e..8067812a17 100755 --- a/dist/tools/usb-cdc-ecm/start_network.sh +++ b/dist/tools/usb-cdc-ecm/start_network.sh @@ -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