diff --git a/openwrt-add-letsencrypt.sh b/openwrt-add-letsencrypt.sh new file mode 100644 index 0000000..43e3b4b --- /dev/null +++ b/openwrt-add-letsencrypt.sh @@ -0,0 +1,6 @@ + +opkg install luci-ssl-openssl acme luci-app-acme + +uci set uhttpd.main.redirect_https=1 +uci commit +/etc/init.d/uhttpd restart diff --git a/openwrt-motion-config.sh b/openwrt-motion-config.sh new file mode 100644 index 0000000..b4cb5cc --- /dev/null +++ b/openwrt-motion-config.sh @@ -0,0 +1,57 @@ +#!/bin/sh + + +if [ $# -ne 1 ]; then + echo "$0 ip-address interface" + echo " ip-address: where to find the OpenWRT device" + exit 1 +fi + +my_ip=$1; shift + +cat <