diff --git a/scripts/post_install/auto_post_install.sh b/scripts/post_install/auto_post_install.sh index d3dc9e9..fcd9713 100644 --- a/scripts/post_install/auto_post_install.sh +++ b/scripts/post_install/auto_post_install.sh @@ -657,11 +657,15 @@ install_log2ram_auto() { if [[ "$is_ssd" == true ]]; then msg_ok "$(translate "System disk is SSD or M.2. Proceeding with Log2RAM setup.")" else - msg_warn "$(translate "System disk is not SSD/M.2. Skipping Log2RAM installation.")" - return 0 + if whiptail --yesno "$(translate "SDo you want to install Log2RAM anyway to reduce log write load?")" \ + 10 70 --title "Log2RAM"; then + else + return 0 + fi fi + if [[ -f /etc/log2ram.conf ]] && command -v log2ram >/dev/null 2>&1 && systemctl list-units --all | grep -q log2ram; then msg_ok "$(translate "Log2RAM is already installed and configured correctly.")" register_tool "log2ram" true