mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-27 09:45:00 +02:00
6599ef4fc7
- Use a radiolist instead of a checklist: only a single CPU scaling governor can be active, and a multi-select wrote an invalid space-joined value into scaling_governor. - Bail out with a clear message when no cpufreq driver is present (e.g. BIOS-managed power, some virtualized hosts) instead of crashing on `cat` under `set -e`. - Exit cleanly when the confirmation dialog is declined. - Read the available governors without a useless `cat` and match the current governor with a fixed string. - Replace the fragile `echo*` regex in the crontab cleanup with a fixed-string match (ShellCheck SC2022).