This commit is contained in:
Hans Karlinius
2024-11-30 20:30:44 +01:00
parent cf96c7e551
commit 75e8988276
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} Deviceid: ${deviceid}"
bashio::log.info "Use: ${use} Device: ${device} Deviceid: ${deviceid}"
if $use; then
bashio::log.info "AUTO USE DEVICE,${deviceid}"
/usr/bin/vhclient -t "AUTO USE DEVICE,${deviceid}"