mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 01-config_yaml.sh
This commit is contained in:
@@ -7,12 +7,8 @@ set -e
|
||||
# INITIALIZATION #
|
||||
##################
|
||||
|
||||
if ! bashio::supervisor.ping 2>/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Exit if /config is not mounted
|
||||
if [ ! -d /config ]; then
|
||||
# Disable if config not present
|
||||
if [ ! -d /config ] || ! bashio::supervisor.ping 2>/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user