fix: adjust wrong root_fs check
This commit is contained in:
parent
716e062661
commit
c6b2d52ff7
|
@ -488,7 +488,7 @@ function create_raid0_luks_layout() {
|
|||
if [[ $root_fs == "btrfs" ]]; then
|
||||
DISK_ID_ROOT_TYPE="btrfs"
|
||||
DISK_ID_ROOT_MOUNT_OPTS="defaults,noatime,compress=zstd,subvol=/root"
|
||||
elif [[ $root_fs == "btrfs" ]]; then
|
||||
elif [[ $root_fs == "ext4" ]]; then
|
||||
DISK_ID_ROOT_TYPE="ext4"
|
||||
DISK_ID_ROOT_MOUNT_OPTS="defaults,noatime,errors=remount-ro,discard"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue