From 476a2bf100e78b6b3584eeca62a38d59d2ca0455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Bonelle?= Date: Sun, 19 Jun 2022 00:43:14 +0200 Subject: [PATCH] fix --- docker-socket-proxy/settings.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-socket-proxy/settings.sh b/docker-socket-proxy/settings.sh index 0be992e..0a92833 100755 --- a/docker-socket-proxy/settings.sh +++ b/docker-socket-proxy/settings.sh @@ -57,6 +57,14 @@ else echo "export ENABLE_CONFIGS=0" >> ${SETTINGS_CONF} fi +if bashio::config.true 'containers'; then + bashio::log.info "Enabling containers" + echo "export ENABLE_CONTAINERS=1" >> ${SETTINGS_CONF} +else + bashio::log.info "Disabling containers" + echo "export ENABLE_CONTAINERS=0" >> ${SETTINGS_CONF} +fi + if bashio::config.true 'allow_restarts'; then bashio::log.info "Enabling allow_restarts" echo "export ENABLE_ALLOW_RESTARTS=1" >> ${SETTINGS_CONF}