mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-02 08:06:17 +00:00
Update auto_post_install.sh
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user