From 8d706b246922c1cb923375078d70daf046c8cbb5 Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Tue, 26 Nov 2024 23:39:09 +0100 Subject: [PATCH] test --- vhclient/config.yaml | 2 +- vhclient/rootfs/etc/s6-overlay/s6-rc.d/config/run | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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