Added interactive check to avoid problems
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user