diff --git a/openwrt/openwrt-viirb-monitor.sh b/openwrt/openwrt-viirb-monitor.sh new file mode 100755 index 0000000..3134149 --- /dev/null +++ b/openwrt/openwrt-viirb-monitor.sh @@ -0,0 +1,77 @@ +#!/bin/sh +# Nico Schottelius, 2024-07-22 +# This script assumes a clean/newly setup openwrt device +# +# Assumption: +# VIIRB being used to... +# - monitor camera +# - monitor UPS via USB + +if [ $# -lt 8 ] ; then + echo $0 "address hostname wifi-ssid wifi-psk" +fi + +address=$1; shift +hostname=$1; shift +wifi_ssid=$1; shift +wifi_psk=$1; shift + +cat <