From 41deb6b5013d9686e3f2a228783238166722245b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 3 Dec 2020 20:03:23 +0100 Subject: [PATCH] [openwrt] update for temper support --- openwrt-add-temper.sh | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/openwrt-add-temper.sh b/openwrt-add-temper.sh index d2ddc4d..96d6635 100755 --- a/openwrt-add-temper.sh +++ b/openwrt-add-temper.sh @@ -1,10 +1,32 @@ #!/bin/sh -opkg install kmod-usb-hid -opkg install python3-pyserial +if [ $# -ne 1 ]; then + echo "$0 ip-address" + echo " ip-address: where to find the OpenWRT device" + exit 1 +fi + +my_ip=$1; shift + + + +cat <