Install scope fix

pull/1/head
riley 1 year ago
parent 5aec060681
commit 5550ff5358

@ -94,15 +94,15 @@ touch /opt/docker2/compose/frigate/config.yml
camera_index=$((camera_index+1)) camera_index=$((camera_index+1))
done done
}
#rm -r /opt/docker2/compose/frigate 2>/dev/null
#mkdir -p /opt/docker2/compose/frigate
#touch /opt/docker2/compose/frigate/config.yml rm -r /opt/docker2/compose/frigate 2>/dev/null
mkdir -p /opt/docker2/compose/frigate
touch /opt/docker2/compose/frigate/config.yml
#touch /opt/docker2/compose/frigate/docker-compose.yml touch /opt/docker2/compose/frigate/docker-compose.yml
cat > /opt/docker2/compose/frigate/docker-compose.yml <<EOF cat > /opt/docker2/compose/frigate/docker-compose.yml <<EOF
version: "3.9" version: "3.9"
services: services:
@ -140,7 +140,7 @@ EOF
uci set shortcutmenu.@lists[-1].weburl="$LAN_IP:$port" uci set shortcutmenu.@lists[-1].weburl="$LAN_IP:$port"
uci set shortcutmenu.@lists[-1].webpath="/" uci set shortcutmenu.@lists[-1].webpath="/"
uci commit shortcutmenu uci commit shortcutmenu
}
usage() { usage() {
echo "usage: $0 sub-command" echo "usage: $0 sub-command"

Loading…
Cancel
Save