1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-22 01:21:34 -05:00

Added a "g" for sed.

This commit is contained in:
Tommaso Chiti 2021-01-31 20:03:03 +01:00
parent e5f1a7968e
commit c25f569a4a

View File

@ -119,7 +119,7 @@ sed -i -e 's,modconf block filesystems keyboard,keyboard keymap modconf block en
# Enabling LUKS in GRUB. # Enabling LUKS in GRUB.
UUID=$(blkid $Cryptroot | cut -f2 -d'"') UUID=$(blkid $Cryptroot | cut -f2 -d'"')
sed -i 's/#\(GRUB_ENABLE_CRYPTODISK=y\)/\1/' /mnt/etc/default/grub sed -i 's/#\(GRUB_ENABLE_CRYPTODISK=y\)/\1/' /mnt/etc/default/grub
sed -i "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS" /mnt/etc/default/grub sed -i -e "s,quiet,quiet cryptdevice=UUID=$UUID:cryptroot root=$BTRFS,g" /mnt/etc/default/grub
# Creating a swapfile. # Creating a swapfile.
echo "How much big should the swap file be? Type the size, just a number (eg: 1 = 1GB..) " echo "How much big should the swap file be? Type the size, just a number (eg: 1 = 1GB..) "