Update auto_post_install.sh

This commit is contained in:
MacRimi 2025-07-06 14:31:04 +02:00
parent 5f39a1e08c
commit 6e7e7cc7fa

View File

@ -710,7 +710,7 @@ EOF
# ========================================================== # ==========================================================
install_log2ram_auto() { install_log2ram_auto() {
msg_info2 "$(translate "Checking if system disk is SSD or M.2...")" msg_info "$(translate "Checking if system disk is SSD or M.2...")"
ROOT_PART=$(lsblk -no NAME,MOUNTPOINT | grep ' /$' | awk '{print $1}') ROOT_PART=$(lsblk -no NAME,MOUNTPOINT | grep ' /$' | awk '{print $1}')
SYSTEM_DISK=$(lsblk -no PKNAME /dev/$ROOT_PART 2>/dev/null) SYSTEM_DISK=$(lsblk -no PKNAME /dev/$ROOT_PART 2>/dev/null)