test
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user