|
|
@ -37,7 +37,7 @@ init() {
|
|
|
|
[[ "$DEV" =~ nvme[0-9]n[0-9] ]] && SUF="p1-3" && MODE="NVME"
|
|
|
|
[[ "$DEV" =~ nvme[0-9]n[0-9] ]] && SUF="p1-3" && MODE="NVME"
|
|
|
|
[ -z "$SWAP_SIZE" ] && read -p "Specify the size for the SWAP partition (16G, 1M, ...): " SWAP_SIZE
|
|
|
|
[ -z "$SWAP_SIZE" ] && read -p "Specify the size for the SWAP partition (16G, 1M, ...): " SWAP_SIZE
|
|
|
|
[ -z "$ENC" ] && read -p "Do you want the root partition to be encrypted (y/n)? " ENC
|
|
|
|
[ -z "$ENC" ] && read -p "Do you want the root partition to be encrypted (y/n)? " ENC
|
|
|
|
[ -z "$KERNEL" ] && read -p "Which kernel? [1: linux, 2: linux-zen]" KERNEL
|
|
|
|
[ -z "$KERNEL" ] && read -p "Which kernel? [1: linux, 2: linux-zen]: " KERNEL
|
|
|
|
[ "$KERNEL" == "1" ] && KERNEL="linux" || KERNEL="linux-zen"
|
|
|
|
[ "$KERNEL" == "1" ] && KERNEL="linux" || KERNEL="linux-zen"
|
|
|
|
[ "$ENC" == "y" ] && ENC=true || ENC=false
|
|
|
|
[ "$ENC" == "y" ] && ENC=true || ENC=false
|
|
|
|
|
|
|
|
|
|
|
|