Removed config yml check because we are generating it with the script

pull/2/head
riley 1 year ago
parent 74740b343e
commit b092cf5333

@ -13,7 +13,6 @@ do_install_detail() {
local config port IMAGE_NAME username password LAN_IP local config port IMAGE_NAME username password LAN_IP
local usbcoral hwaccel storage mqtt host coral type device 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) port=$(uci get frigate.@frigate_config[0].port 2>/dev/null)
IMAGE_NAME=$(uci get frigate.@frigate_config[0].image 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) 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=$(uci get network.lan.ipaddr)
LAN_IP="${LAN_IP%/*}" LAN_IP="${LAN_IP%/*}"
if [ -z "$config" ]; then
echo "config path is empty!"
exit 1
fi
[ -z "$port" ] && port=1880 [ -z "$port" ] && port=1880
[ -z "$IMAGE_NAME" ] && IMAGE_NAME="ghcr.io/blakeblackshear/frigate:stable" [ -z "$IMAGE_NAME" ] && IMAGE_NAME="ghcr.io/blakeblackshear/frigate:stable"

Loading…
Cancel
Save