From b9bb9401e656ccde64adf7d2c65560169583b367 Mon Sep 17 00:00:00 2001 From: dcmartin Date: Wed, 8 Apr 2020 16:40:31 -0700 Subject: [PATCH] lgtm --- sh/hassio-install.sh | 16 ---------------- sh/hzn-deluser.sh | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 sh/hassio-install.sh diff --git a/sh/hassio-install.sh b/sh/hassio-install.sh deleted file mode 100755 index e4b1502..0000000 --- a/sh/hassio-install.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -if [[ $(whoami) != "root" ]]; then - echo "Run as root" - exit 1 -fi - -apt-get install software-properties-common - -add-apt-repository universe - -apt-get update - -apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat - -curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s - diff --git a/sh/hzn-deluser.sh b/sh/hzn-deluser.sh index 42a0faf..7852241 100755 --- a/sh/hzn-deluser.sh +++ b/sh/hzn-deluser.sh @@ -15,7 +15,7 @@ if [ -z $(command -v jq) ]; then exit 1 fi -if [ -z "${HZN_EXCHANGE_URL:-}" ]; then HZN_EXCHANGE_URL="https://alpha.edge-fabric.com/v1"; fi +if [ -z "${HZN_EXCHANGE_URL:-}" ]; then HZN_EXCHANGE_URL="https://exchange:3090/v1"; fi if [ -z "${HZN_EXCHANGE_APIKEY:-}" ] || [ "${HZN_EXCHANGE_APIKEY:-}" == "null" ]; then echo "*** ERROR $0 $$ -- invalid HZN_EXCHANGE_APIKEY" &> /dev/stderr