fix
This commit is contained in:
@@ -57,12 +57,12 @@ else
|
||||
echo "export ENABLE_CONFIGS=0" >> ${SETTINGS_CONF}
|
||||
fi
|
||||
|
||||
if bashio::config.true 'allow_restart'; then
|
||||
bashio::log.info "Enabling allow_restart"
|
||||
echo "export ENABLE_ALLOW_RESTART=1" >> ${SETTINGS_CONF}
|
||||
if bashio::config.true 'allow_restarts'; then
|
||||
bashio::log.info "Enabling allow_restarts"
|
||||
echo "export ENABLE_ALLOW_RESTARTS=1" >> ${SETTINGS_CONF}
|
||||
else
|
||||
bashio::log.info "Disabling allow_restart"
|
||||
echo "export ENABLE_ALLOW_RESTART=0" >> ${SETTINGS_CONF}
|
||||
bashio::log.info "Disabling allow_restarts"
|
||||
echo "export ENABLE_ALLOW_RESTARTS=0" >> ${SETTINGS_CONF}
|
||||
fi
|
||||
|
||||
if bashio::config.true 'distribution'; then
|
||||
|
||||
Reference in New Issue
Block a user