test
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: VirtualHere Client
|
name: VirtualHere Client
|
||||||
version: "0.1.122"
|
version: "0.1.123"
|
||||||
slug: vhclient
|
slug: vhclient
|
||||||
description: VirtualHere Client
|
description: VirtualHere Client
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
@@ -17,10 +17,13 @@ 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
|
||||||
|
bashio::log.info "AUTO USE ALL"
|
||||||
/usr/bin/vhclient -t "AUTO USE ALL"
|
/usr/bin/vhclient -t "AUTO USE ALL"
|
||||||
else
|
else
|
||||||
|
bashio::log.info "AUTO USE CLEAR ALL"
|
||||||
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
|
/usr/bin/vhclient -t "AUTO USE CLEAR ALL"
|
||||||
sleep 5s
|
sleep 5s
|
||||||
|
bashio::log.info "STOP USING ALL LOCAL"
|
||||||
/usr/bin/vhclient -t "STOP USING ALL LOCAL"
|
/usr/bin/vhclient -t "STOP USING ALL LOCAL"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user