diff --git a/openwrt-add-lte.sh b/openwrt-add-lte.sh new file mode 100644 index 0000000..5e3a2c7 --- /dev/null +++ b/openwrt-add-lte.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Based on work of Samuel Hailu, 2020-09-10 + +if [ $# -ne 2 ]; then + echo "$0 ip-address interface" + echo " ip-address: where to find the OpenWRT device" + echo " interface: which interface (eth3 for instance) is the LTE device" + exit 1 +fi + +my_ip=$1; shift +interface=$1; shift + +cat <