fix help page
@@ -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
