Merge pull request #94 from thiblizz/patch-2
fix: adjust wrong root_fs check
This commit is contained in:
commit
c8bbcb8333
|
@ -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