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 <