This commit is contained in:
Hans Karlinius
2024-11-30 20:28:27 +01:00
parent a95979a430
commit cf96c7e551
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ if bashio::config.has_value 'usbdevices'; then
use=$(echo $usbdevice | jq '. | if .use then true else false end')
device=$(echo $usbdevice | jq '.device | tostring')
deviceid=$(echo $device | sed 's/.*(\(.*\))/\1/g')
bashio::log.info "Use: ${use}"
bashio::log.info "Use: ${use} Deviceid: ${deviceid}"
if $use; then
bashio::log.info "AUTO USE DEVICE,${deviceid}"
/usr/bin/vhclient -t "AUTO USE DEVICE,${deviceid}"