Update 'arch.sh'

This commit is contained in:
verita84 2022-12-05 04:39:19 +00:00
parent f5ceaee66d
commit e431d37e24

View File

@ -7,7 +7,7 @@ TARGET='/mnt'
######################################
clear
echo
HARD_DISK=$(lsblk | cut -d ' ' -f1 | grep -viE 'loop0|sr0|zram' | head -2 | tail -1)
HARD_DISK=nvme0n1
EFI="/dev/$(lsblk | grep $HARD_DISK | head -2 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
BTRFS="/dev/$(lsblk | grep $HARD_DISK | head -3 | tail -1 | cut -c 7-20 | cut -d ' ' -f1)"
ROOT_NAME='arch'