removed LXCIP part from grafana Menu (#1215)

This commit is contained in:
nicedevil007 2023-03-22 21:43:55 +01:00 committed by GitHub
parent 6127d88d09
commit 24a1886f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -52,11 +52,10 @@ function default_settings() {
} }
function update_script() { function update_script() {
LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
while true; do while true; do
CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 2 \ CHOICE=$(whiptail --title "SUPPORT" --menu "Select option" 11 58 2 \
"1" "Update LXC OS" \ "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=$? exit_status=$?
if [ $exit_status == 1 ] ; then if [ $exit_status == 1 ] ; then