cf617656f11a0d9b14e6647674ae1246d7b313ce
CRITICAL BUG FIXED: - [C1] Function override: Two cleanup_on_exit() definitions caused memory leaks Location: Lines 24-34 (first) and 1521-1574 (second) Impact: Background process cleanup never executed Fix: Merged both functions into comprehensive cleanup routine Now handles: background processes, temp files, scan markers, RKHunter cleanup HIGH BUG FIXED: - [H1] Sed regex error: Unescaped asterisk in patterns Location: Lines 88, 97 (get_web_root_for_imunify) Issue: sed 's/*://' matches wrong patterns (asterisk is regex special char) Fix: Changed to sed 's/\*://' to match literal asterisk Impact: ImunifyAV web root detection now works correctly MEDIUM BUG FIXED: - [M1] Redundant trap registration removed Location: Line 1577 (duplicate of line 37) Fix: Removed second trap registration Now: Single trap registration after full function definition VERIFICATION: - Syntax check: PASS (bash -n) - Cleanup function: Comprehensive (6 phases) - Trap handler: Single registration - All variable references: Safely quoted with defaults Production Status: READY FOR DEPLOYMENT
🧪 Linux Server Toolkit - DEV Branch
STATUS: 🚀 Development & Testing Branch (Separate from Production)
This is the
devbranch for testing, development, and experimentation. Changes here are isolated from production and can be safely tested before merging to main.
🚀 Quick Start
One command - pulls dev branch with YELLOW ⚠️ BETA banner:
curl -sL https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit/archive/dev.tar.gz | tar xz && source linux-server-management-toolkit/run.sh
When exiting (option 0), answer "yes" and cleanup happens automatically - no extra steps.
📍 Key Differences (Dev vs Production)
| Feature | Dev Branch | Production |
|---|---|---|
| Cache | .sysref.beta |
.sysref |
| Version | 2.1.0-BETA |
2.1.0 |
| Banner | 🟨 Yellow (⚠️) | 🔵 Cyan |
| Git Branch | dev |
main |
| Purpose | Testing & Development | Stable/Production |
📦 Features
Comprehensive multi-panel server management suite supporting cPanel, InterWorx, Plesk, and standalone Apache with:
- 🛡️ Security & Monitoring: Live attack monitor, bot blocker, malware scanner, IP reputation
- 💾 Backup & Recovery: Acronis management, MySQL database restore
- 🌐 Website Diagnostics: Error analysis, WordPress tools, Cloudflare detection
- 📧 Email Diagnostics: Mail queue, blacklist checker, SPF/DKIM/DMARC validation
- 📊 Performance Analysis: MySQL optimization, PHP tuning, hardware health, Varnish cache
- 🔍 System Diagnostics: Health checks, loadwatch analysis, bandwidth monitoring
📖 Documentation
For detailed documentation, see the main repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit
Version: 2.1.0-BETA Repository: https://git.mull.lol/cschantz/Linux-Server-Management-Toolkit Branch: dev
Languages
Shell
100%