8 lines
245 B
Plaintext
Executable File
8 lines
245 B
Plaintext
Executable File
#!/usr/bin/with-contenv bashio
|
|
bashio::log.info "Adding selected devices"
|
|
|
|
options=$(bashio::api.supervisor GET "/addons/self/options/config")
|
|
for device in "${options}.usbdevices[@]}"; do
|
|
bashio::log.info "Set AUTO USE DEVICE ${device}"
|
|
|
|
done |