Update alpine-grafana.sh

add `newt` check
pull/1251/head
tteckster 2023-03-24 13:24:30 -04:00 committed by GitHub
parent 2facedfe71
commit 0e49af62df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ function default_settings() {
} }
function update_script() { function update_script() {
if ! apk -e info newt >/dev/null 2>&1; then
apk add newt
fi
LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1) LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
while true; do while true; do
CHOICE=$( CHOICE=$(