From b092cf53339ba8f6fc1066816114572a1094677d Mon Sep 17 00:00:00 2001 From: riley Date: Wed, 20 Sep 2023 16:02:50 -0400 Subject: [PATCH] Removed config yml check because we are generating it with the script --- root/usr/libexec/apps/frigate/frigate.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/root/usr/libexec/apps/frigate/frigate.sh b/root/usr/libexec/apps/frigate/frigate.sh index fede17c..1100b9d 100755 --- a/root/usr/libexec/apps/frigate/frigate.sh +++ b/root/usr/libexec/apps/frigate/frigate.sh @@ -13,7 +13,6 @@ do_install_detail() { local config port IMAGE_NAME username password LAN_IP local usbcoral hwaccel storage mqtt host coral type device - config=$(uci get frigate.@frigate_config[0].config_path 2>/dev/null) port=$(uci get frigate.@frigate_config[0].port 2>/dev/null) IMAGE_NAME=$(uci get frigate.@frigate_config[0].image 2>/dev/null) usbcoral=$(uci get frigate.@frigate_config[0].usbcoral 2>/dev/null) @@ -37,11 +36,6 @@ do_install_detail() { LAN_IP=$(uci get network.lan.ipaddr) LAN_IP="${LAN_IP%/*}" - if [ -z "$config" ]; then - echo "config path is empty!" - exit 1 - fi - [ -z "$port" ] && port=1880 [ -z "$IMAGE_NAME" ] && IMAGE_NAME="ghcr.io/blakeblackshear/frigate:stable"