test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.119"
|
version: "0.1.120"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
@@ -43,7 +43,7 @@ options:
|
|||||||
autouse: true
|
autouse: true
|
||||||
schema:
|
schema:
|
||||||
autouse: bool
|
autouse: bool
|
||||||
autofind: "bool?"
|
autofind: bool
|
||||||
manualhub: "str?"
|
manualhub: "str?"
|
||||||
stage: experimental
|
stage: experimental
|
||||||
init: false
|
init: false
|
||||||
|
|||||||
@@ -16,9 +16,10 @@ fi
|
|||||||
if bashio::config.has_value 'autouse'; then
|
if bashio::config.has_value 'autouse'; then
|
||||||
autouse=($(bashio::config 'autouse'))
|
autouse=($(bashio::config 'autouse'))
|
||||||
bashio::log.info "Set AUTOUSE all devices to ${autouse}"
|
bashio::log.info "Set AUTOUSE all devices to ${autouse}"
|
||||||
if [ autouse ]; then
|
if [ ${autouse} ]; then
|
||||||
/usr/bin/vhclient -t "AUTO USE ALL"
|
/usr/bin/vhclient -t "AUTO USE ALL"
|
||||||
else
|
else
|
||||||
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
|
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
|
||||||
|
/usr/bin/vhclient -t "STOP USING ALL LOCAL"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user