fix(post-install): align optimization descriptions with existing behavior

This commit is contained in:
martino
2026-10-22 23:46:56 +02:00
parent 6422d6ecd5
commit e032d869ff
5 changed files with 153 additions and 18 deletions
+1 -1
View File
@@ -1043,7 +1043,7 @@ install_log2ram_auto() {
local existing_log2ram_bin=""
pmx_journal_context "install_log2ram_auto" "$FUNC_VERSION"
# description: Install Log2RAM with size auto-tuned to host RAM (128M/256M/512M); SSD/M.2 detection skips on rotational disks.
# description: Fresh installs size Log2RAM from host RAM and ask for confirmation if storage is not detected as SSD. Updates preserve the configured size.
existing_log2ram_bin="$(command -v log2ram 2>/dev/null || true)"
if [[ -f /etc/log2ram.conf || -n "$existing_log2ram_bin" \