diff --git a/frigate-casaos/README.md b/frigate-casaos/README.md new file mode 100644 index 0000000..b7ce06a --- /dev/null +++ b/frigate-casaos/README.md @@ -0,0 +1,5 @@ +# Create a config.yml + +```bash +bash -c "$(wget -qLO - https://raw.githubusercontent.com/bigbeartechworld/big-bear-scripts/master/frigate/create_config.sh)" +``` diff --git a/frigate-casaos/create_config.sh b/frigate-casaos/create_config.sh new file mode 100644 index 0000000..3755c82 --- /dev/null +++ b/frigate-casaos/create_config.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +CONFIG_PATH="/DATA/AppData/frigate/config/config.yml" + +# Ensure the directory exists +mkdir -p $(dirname $CONFIG_PATH) + +# Write the content to config.yml +cat > $CONFIG_PATH <