From 200b992cb666f0a950a8078af2fc04b372b9b529 Mon Sep 17 00:00:00 2001 From: cschantz Date: Wed, 17 Dec 2025 19:28:02 -0500 Subject: [PATCH] Move Disk Space Analyzer to Performance Analysis menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Disk Space Analyzer is a performance/system health tool, not a backup tool. Moving it to the Performance Analysis menu makes more logical sense for users looking for system diagnostics. Changes: - Removed from Backup & Recovery → Maintenance section (was option 4) - Added to Performance Analysis → System Health section (option 6) - Updated both show_performance_menu() and handle_performance_menu() - Removed from show_backup_menu() and handle_backup_menu() New Location: Main Menu → 4) Performance Analysis → 6) Disk Space Analyzer This groups it with other system health tools like: - Loadwatch Health Analyzer - Hardware Health Check - Network & Bandwidth analysis --- launcher.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher.sh b/launcher.sh index a4908fa..2a3f57d 100755 --- a/launcher.sh +++ b/launcher.sh @@ -239,6 +239,7 @@ show_performance_menu() { echo -e "${BOLD}System Health:${NC}" echo "" echo -e " ${MAGENTA}5)${NC} 📊 Loadwatch Health Analyzer - Historical system analysis" + echo -e " ${MAGENTA}6)${NC} 💿 Disk Space Analyzer - Find space issues & cleanup files" echo "" echo -e " ${RED}0)${NC} Back to Main Menu" echo "" @@ -257,6 +258,7 @@ handle_performance_menu() { 3) run_module "performance" "hardware-health-check.sh" ;; 4) run_module "performance" "php-optimizer.sh" ;; 5) handle_loadwatch_analyzer ;; + 6) run_module "maintenance" "disk-space-analyzer.sh" ;; 0) return ;; *) echo -e "${RED}Invalid option${NC}"; sleep 1 ;; esac @@ -312,7 +314,6 @@ show_backup_menu() { echo -e "${BOLD}Maintenance:${NC}" echo "" echo -e " ${RED}3)${NC} 🗑️ Cleanup Toolkit Data - Remove IP reputation & temp files" - echo -e " ${CYAN}4)${NC} 💿 Disk Space Analyzer - Find space issues & cleanup files" echo "" echo -e " ${RED}0)${NC} Back to Main Menu" echo "" @@ -360,7 +361,6 @@ handle_backup_menu() { 1) handle_acronis_menu ;; 2) run_module "backup" "mysql-restore-to-sql.sh" ;; 3) run_module "maintenance" "cleanup-toolkit-data.sh" ;; - 4) run_module "maintenance" "disk-space-analyzer.sh" ;; 0) return ;; *) echo -e "${RED}Invalid option${NC}"; sleep 1 ;; esac