From cc9f7ccdcf2908b266f98d302606a43f2b9cefe8 Mon Sep 17 00:00:00 2001 From: nicedevil007 <17103076+nicedevil007@users.noreply.github.com> Date: Wed, 22 Mar 2023 21:40:09 +0100 Subject: [PATCH] removed LXCIP part from grafana Menu $APP variable contains OS and APP in a string instead of just the APP (that is "old" stuff from debian scripts I know) maybe a solution would be to get rid of debian at all for perfectly running alpine LXCs or let the user choose on installation if debian or alpine should be installed and then there is no need for the OS name in the LXC's hostname and even the variable called `APP` --- ct/alpine-adguard.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/alpine-adguard.sh b/ct/alpine-adguard.sh index b84f2025..435ff1dc 100644 --- a/ct/alpine-adguard.sh +++ b/ct/alpine-adguard.sh @@ -52,11 +52,10 @@ function default_settings() { } function update_script() { -LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1) while true; do CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 2 \ "1" "Update LXC OS" \ - "2" "Manually Update $APP" 3>&2 2>&1 1>&3 + "2" "Manually Update AdGuardHome" 3>&2 2>&1 1>&3 ) exit_status=$? if [ $exit_status == 1 ] ; then