From 98f168c2d25c3a94656c7cf3f936fb6fda129b72 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 13 Aug 2024 16:43:13 +0200 Subject: [PATCH] [openwrt] start viirb/monitor --- openwrt/openwrt-viirb-monitor.sh | 77 ++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100755 openwrt/openwrt-viirb-monitor.sh 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 <