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