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
|
||||
source /etc/profile
|
||||
|
||||
# load config
|
||||
source /usr/sbin/resin-vars
|
||||
source /etc/resin-supervisor/supervisor.conf
|
||||
source /etc/hassio.conf
|
||||
|
||||
# Help function
|
||||
function help {
|
||||
cat << EOF
|
||||
@ -194,6 +189,11 @@ while [[ $# > 0 ]]; do
|
||||
shift
|
||||
done
|
||||
|
||||
# load config
|
||||
source /usr/sbin/resin-vars
|
||||
source /etc/resin-supervisor/supervisor.conf
|
||||
source /etc/hassio.conf
|
||||
|
||||
# Check that HostOS version was provided
|
||||
if [ -z "$HOSTOS_VERSION" ]; then
|
||||
if version=$(curl --silent $ENDPOINT | jq -e -r '.hassio_version'); then
|
||||
|
Loading…
x
Reference in New Issue
Block a user