add scrutiny full access

This commit is contained in:
Alexandre
2022-03-10 17:58:57 +01:00
parent 5bbfd6ecee
commit 4d1aa81c3a
23 changed files with 724 additions and 1 deletions

13
scrutiny_fa/rootfs/run.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
# wait for scrutiny to load
bashio::net.wait_for 8080
#####################
# ADD LOCAL DEVICES #
#####################
# search for local devices
# shellcheck disable=SC2015
scrutiny-collector-metrics run >/dev/null && bashio::log.info "Local Devices Added" || bashio::log.error "Local Devices Not Added"