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`
pull/1215/head
nicedevil007 2 years ago committed by GitHub
parent 6127d88d09
commit cc9f7ccdcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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

Loading…
Cancel
Save