mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2026-01-01 09:27:34 +00:00
Remove editor auto-formatting
This commit is contained in:
parent
fad53c5f58
commit
905bb43563
1 changed files with 5 additions and 5 deletions
10
easy-arch.sh
10
easy-arch.sh
|
|
@ -9,7 +9,7 @@ clear
|
|||
# Cosmetics (colours for text).
|
||||
BOLD='\e[1m'
|
||||
BRED='\e[91m'
|
||||
BBLUE='\e[34m'
|
||||
BBLUE='\e[34m'
|
||||
BGREEN='\e[92m'
|
||||
BYELLOW='\e[93m'
|
||||
RESET='\e[0m'
|
||||
|
|
@ -62,7 +62,7 @@ kernel_selector () {
|
|||
info_print "2) Hardened: A security-focused Linux kernel"
|
||||
info_print "3) Longterm: Long-term support (LTS) Linux kernel"
|
||||
info_print "4) Zen Kernel: A Linux kernel optimized for desktop usage"
|
||||
input_print "Please select the number of the corresponding kernel (e.g. 1): "
|
||||
input_print "Please select the number of the corresponding kernel (e.g. 1): "
|
||||
read -r kernel_choice
|
||||
case $kernel_choice in
|
||||
1 ) kernel="linux"
|
||||
|
|
@ -152,7 +152,7 @@ userpass_selector () {
|
|||
return 1
|
||||
fi
|
||||
echo
|
||||
input_print "Please enter the password again (you're not going to see it): "
|
||||
input_print "Please enter the password again (you're not going to see it): "
|
||||
read -r -s userpass2
|
||||
echo
|
||||
if [[ "$userpass" != "$userpass2" ]]; then
|
||||
|
|
@ -173,7 +173,7 @@ rootpass_selector () {
|
|||
return 1
|
||||
fi
|
||||
echo
|
||||
input_print "Please enter the password again (you're not going to see it): "
|
||||
input_print "Please enter the password again (you're not going to see it): "
|
||||
read -r -s rootpass2
|
||||
echo
|
||||
if [[ "$rootpass" != "$rootpass2" ]]; then
|
||||
|
|
@ -325,7 +325,7 @@ mkfs.fat -F 32 "$ESP" &>/dev/null
|
|||
# Creating a LUKS Container for the root partition.
|
||||
info_print "Creating LUKS Container for the root partition."
|
||||
echo -n "$password" | cryptsetup luksFormat "$CRYPTROOT" -d - &>/dev/null
|
||||
echo -n "$password" | cryptsetup open "$CRYPTROOT" cryptroot -d -
|
||||
echo -n "$password" | cryptsetup open "$CRYPTROOT" cryptroot -d -
|
||||
BTRFS="/dev/mapper/cryptroot"
|
||||
|
||||
# Formatting the LUKS Container as BTRFS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue