From 0ecab91292ff6c1211c0f9a75518a276f02bbbbc Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 11 Jan 2020 03:10:49 +0100 Subject: [PATCH] Change ReiserFS menu index --- archfi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/archfi b/archfi index 8d21942..83920b1 100644 --- a/archfi +++ b/archfi @@ -565,13 +565,13 @@ formatswapdevice(){ formatdevice(){ options=() options+=("btrfs" "") - options+=("reiserfs" "") options+=("ext4" "") options+=("ext3" "") options+=("ext2" "") options+=("xfs" "") options+=("f2fs" "") options+=("jfs" "") + options+=("reiserfs" "") if [ ! "${3}" = "noluks" ]; then options+=("luks" "encrypted") fi @@ -599,10 +599,6 @@ formatdevice(){ umount /mnt fi ;; - reiserfs) - echo "mkfs.reiserfs -f ${2}" - mkfs.reiserfs -f ${2} - ;; ext4) echo "mkfs.ext4 ${2}" mkfs.ext4 ${2} @@ -627,6 +623,10 @@ formatdevice(){ echo "mkfs.xfs -f ${2}" mkfs.jfs -f ${2} ;; + reiserfs) + echo "mkfs.reiserfs -f ${2}" + mkfs.reiserfs -f ${2} + ;; luks) echo "${txtcreateluksdevice}" echo "cryptsetup luksFormat ${2}"