Files
hassio-addons/scrutiny_fa/rootfs/run.sh
Alexandre 42bef66f08 Revert "chmod +x scripts"
This reverts commit 3351e5b29c.
2022-06-15 21:03:13 +02:00

14 lines
364 B
Bash

#!/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"