mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
add scrutiny full access
This commit is contained in:
13
scrutiny_fa/rootfs/run.sh
Normal file
13
scrutiny_fa/rootfs/run.sh
Normal 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"
|
||||
Reference in New Issue
Block a user