Remove unused variable

This commit is contained in:
Luis Guzmán 2020-07-04 07:17:15 -05:00
parent c2e50eebee
commit 3f244ef978
1 changed files with 0 additions and 1 deletions

View File

@ -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