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