test
This commit is contained in:
@@ -22,8 +22,8 @@ if bashio::config.has_value 'usbdevices'; then
|
||||
device=$(echo $usbdevice | jq '.device | tostring')
|
||||
deviceid=$(echo $device | sed 's/.*(\(.*\)).*/\1/g')
|
||||
if $use; then
|
||||
bashio::log.info "USE,${deviceid}"
|
||||
/usr/bin/vhclient -t "USE,${deviceid}"
|
||||
bashio::log.info "AUTO USE DEVICE,${deviceid}"
|
||||
/usr/bin/vhclient -t "AUTO USE DEVICE,${deviceid}"
|
||||
else
|
||||
if [[ "${inuse_devices[@]}" =~ "$device" ]]; then
|
||||
bashio::log.info "STOP USING,${deviceid}"
|
||||
|
||||
Reference in New Issue
Block a user