From 4a0e976a88b673195271b64a96fa6977759ae122 Mon Sep 17 00:00:00 2001 From: sld-admin Date: Wed, 1 Apr 2026 00:14:20 +0100 Subject: [PATCH] Added interactive check to avoid problems --- installer/02_bashboard.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/installer/02_bashboard.sh b/installer/02_bashboard.sh index 96fc128..cc87d04 100644 --- a/installer/02_bashboard.sh +++ b/installer/02_bashboard.sh @@ -27,7 +27,7 @@ function dashboard_fast() { MIN_CHECK_IP=30 # Change this value to set the timing cache for checking the public IP. MIN_CHECK_UPDATE=120 # Change this value to set the timing cache for checking updates. LOCAL_CACHE=1 # Change this value to 1 if you want to create the local cache in the ~/.bashrc.d/.dashboard_cache. - + UI_SHOWS=1 # Change to 1 if cockpit has been installed. This will shows the IP and port Link. @@ -180,4 +180,8 @@ function dashboard_fast() { echo -e "${CYAN}========================================${NC}" } -dashboard_fast + + +if [[ $- == *i* ]]; then + dashboard_fast +fi