mirror of
https://github.com/tommytran732/Arch-Setup-Script
synced 2024-11-24 18:41:33 -05:00
Added a "g" for sed.
This commit is contained in:
parent
e5f1a7968e
commit
c25f569a4a
@ -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..) "
|
||||||
|
Loading…
Reference in New Issue
Block a user