Added interactive check to avoid problems

This commit is contained in:
2026-04-01 00:14:20 +01:00
parent 60533b99de
commit 4a0e976a88

View File

@@ -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_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. 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. 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}" echo -e "${CYAN}========================================${NC}"
} }
dashboard_fast
if [[ $- == *i* ]]; then
dashboard_fast
fi