mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 11:06:32 +00:00
fix help page
This commit is contained in:
parent
13f720895b
commit
bb1eb63eb0
@ -10,11 +10,6 @@ DOCKER_REPO=pvizeli
|
|||||||
# Don't run anything before this source as it sets PATH here
|
# Don't run anything before this source as it sets PATH here
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
# load config
|
|
||||||
source /usr/sbin/resin-vars
|
|
||||||
source /etc/resin-supervisor/supervisor.conf
|
|
||||||
source /etc/hassio.conf
|
|
||||||
|
|
||||||
# Help function
|
# Help function
|
||||||
function help {
|
function help {
|
||||||
cat << EOF
|
cat << EOF
|
||||||
@ -194,6 +189,11 @@ while [[ $# > 0 ]]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# load config
|
||||||
|
source /usr/sbin/resin-vars
|
||||||
|
source /etc/resin-supervisor/supervisor.conf
|
||||||
|
source /etc/hassio.conf
|
||||||
|
|
||||||
# Check that HostOS version was provided
|
# Check that HostOS version was provided
|
||||||
if [ -z "$HOSTOS_VERSION" ]; then
|
if [ -z "$HOSTOS_VERSION" ]; then
|
||||||
if version=$(curl --silent $ENDPOINT | jq -e -r '.hassio_version'); then
|
if version=$(curl --silent $ENDPOINT | jq -e -r '.hassio_version'); then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user