diff --git a/vhclient/config.yaml b/vhclient/config.yaml index ad6ccf0..ee98b4b 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.122" +version: "0.1.123" slug: vhclient description: VirtualHere Client arch: diff --git a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run index fb6b3a3..9b90454 100755 --- a/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run +++ b/vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run @@ -17,10 +17,13 @@ if bashio::config.has_value 'autouse'; then autouse=($(bashio::config 'autouse')) bashio::log.info "Set AUTOUSE all devices to ${autouse}" if [ ${autouse} ]; then + bashio::log.info "AUTO USE ALL" /usr/bin/vhclient -t "AUTO USE ALL" else + bashio::log.info "AUTO USE CLEAR ALL" /usr/bin/vhclient -t "AUTO USE CLEAR ALL" sleep 5s + bashio::log.info "STOP USING ALL LOCAL" /usr/bin/vhclient -t "STOP USING ALL LOCAL" fi fi