mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-24 07:26:54 +00:00
Update auto_post_install.sh
This commit is contained in:
parent
fab938055f
commit
a24e00ad5a
@ -795,7 +795,7 @@ EOF
|
|||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
|
|
||||||
install_log2ram_auto() {
|
install_log2ram_auto_() {
|
||||||
msg_info "$(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}')
|
||||||
@ -883,10 +883,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
install_log2ram_auto_() {
|
install_log2ram_auto() {
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
msg_info "$(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)
|
||||||
SYSTEM_DISK=${SYSTEM_DISK:-sda}
|
SYSTEM_DISK=${SYSTEM_DISK:-sda}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user