mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
Update auto_post_install.sh
This commit is contained in:
@@ -657,9 +657,13 @@ install_log2ram_auto() {
|
|||||||
if [[ "$is_ssd" == true ]]; then
|
if [[ "$is_ssd" == true ]]; then
|
||||||
msg_ok "$(translate "System disk is SSD or M.2. Proceeding with Log2RAM setup.")"
|
msg_ok "$(translate "System disk is SSD or M.2. Proceeding with Log2RAM setup.")"
|
||||||
else
|
else
|
||||||
msg_warn "$(translate "System disk is not SSD/M.2. Skipping Log2RAM installation.")"
|
if whiptail --yesno "$(translate "SDo you want to install Log2RAM anyway to reduce log write load?")" \
|
||||||
|
10 70 --title "Log2RAM"; then
|
||||||
|
else
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [[ -f /etc/log2ram.conf ]] && command -v log2ram >/dev/null 2>&1 && systemctl list-units --all | grep -q log2ram; then
|
if [[ -f /etc/log2ram.conf ]] && command -v log2ram >/dev/null 2>&1 && systemctl list-units --all | grep -q log2ram; then
|
||||||
|
Reference in New Issue
Block a user