This commit is contained in:
Hans Karlinius
2024-11-26 17:34:10 +01:00
parent 060ecc6231
commit fe3a577e23
2 changed files with 4 additions and 3 deletions

View File

@@ -16,9 +16,10 @@ fi
if bashio::config.has_value 'autouse'; then
autouse=($(bashio::config 'autouse'))
bashio::log.info "Set AUTOUSE all devices to ${autouse}"
if [ autouse ]; then
if [ ${autouse} ]; then
/usr/bin/vhclient -t "AUTO USE ALL"
else
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
/usr/bin/vhclient -t "STOP USING ALL LOCAL"
fi
fi