From 3f244ef9780071845aba2f26e19c3a2993fa07a9 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Sat, 4 Jul 2020 07:17:15 -0500 Subject: [PATCH] Remove unused variable --- grafana.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/grafana.sh b/grafana.sh index 963ee8a..d0badb4 100644 --- a/grafana.sh +++ b/grafana.sh @@ -15,7 +15,6 @@ GRAFANA_INI="/etc/grafana/grafana.ini" DOMAIN=$(ls /etc/prosody/conf.d/ | grep -v localhost | awk -F'.cfg' '{print $1}' | awk '!NF || !seen[$0]++') WS_CONF="/etc/nginx/sites-enabled/$DOMAIN.conf" GRAFANA_PASS="$(tr -dc "a-zA-Z0-9#_*=" < /dev/urandom | fold -w 14 | head -n1)" -PUBLIC_IP="$(dig -4 @resolver1.opendns.com ANY myip.opendns.com +short)" # Min requirements apt update && apt install -y gnupg2 curl wget jq