mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update 19-config.sh
This commit is contained in:
@@ -81,7 +81,7 @@ CONFIG=$(bashio::jq "${CONFIG}" ".\"rpc-host-whitelist-enabled\"=false")
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"bind-address-ipv4\"=\"0.0.0.0\"")
|
||||
|
||||
if bashio::config.has_value 'watch_dir'; then
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"watch-dir\"=\"${watch_dir}\"")
|
||||
CONFIG=$(bashio::jq "${CONFIG}" ".\"watch-dir\"=\"$(bashio::config 'watch_dir')\"")
|
||||
fi
|
||||
|
||||
echo "${CONFIG}" >"$CONFIGDIR"/settings.json &&
|
||||
|
||||
Reference in New Issue
Block a user