From 13e7e45e2283ad872196636409f30db66ef6ce1a Mon Sep 17 00:00:00 2001 From: Hans Karlinius Date: Wed, 4 Dec 2024 04:17:08 +0100 Subject: [PATCH] test --- vhclient/config.yaml | 2 +- vhclient/rootfs/etc/s6-overlay/scripts/vhclient-use-devices | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vhclient/config.yaml b/vhclient/config.yaml index e5857e6..0039aa6 100644 --- a/vhclient/config.yaml +++ b/vhclient/config.yaml @@ -1,5 +1,5 @@ name: VirtualHere Client -version: "0.1.360" +version: "0.1.361" slug: vhclient description: VirtualHere Client arch: diff --git a/vhclient/rootfs/etc/s6-overlay/scripts/vhclient-use-devices b/vhclient/rootfs/etc/s6-overlay/scripts/vhclient-use-devices index 231794c..9346484 100755 --- a/vhclient/rootfs/etc/s6-overlay/scripts/vhclient-use-devices +++ b/vhclient/rootfs/etc/s6-overlay/scripts/vhclient-use-devices @@ -1,7 +1,10 @@ #!/usr/bin/with-contenv bashio preventconfig=$(bashio::cache.get preventconfig) -bashio::log.info "GURKA ${preventconfig}" +if $preventconfig; then + bashio::log.info "Prevent config and exit" + exit0 +fi if bashio::config.has_value 'usbdevices'; then options=$(bashio::api.supervisor GET "/addons/self/options/config")