From 4af369c22594ec4472f5439d922843031b1adfc7 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Thu, 31 Mar 2022 22:02:10 +0000 Subject: [PATCH] Update install.sh --- install.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 3a1db4f..d994a9d 100644 --- a/install.sh +++ b/install.sh @@ -233,7 +233,6 @@ echo mkfs.ext4 -L home /dev/mapper/main-home && echo "Filesystem for home successfully created." -echo "Done." echo echo "Mounting.." @@ -245,7 +244,8 @@ mount /dev/mapper/main-home /mnt/home && echo "Mounting complete." echo -lsblk | grep "$dev" +#lsblk | grep "$dev" +lsblk echo # Updating mirrors using reflector. @@ -270,7 +270,7 @@ echo # Generating fstab. echo "Generating fstab." genfstab -Up /mnt > /mnt/etc/fstab && -echo "Installed fstab." +echo "Done." echo # Setting hostname. @@ -315,7 +315,6 @@ echo # Editing mkinitcpio.conf. echo "Editing /etc/mkinitcpio.conf." -echo sed -i '7s/.*/MODULES=(ext4)/' /mnt/etc/mkinitcpio.conf && sed -i '52s/.*/HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown)/' /mnt/etc/mkinitcpio.conf && echo "Done." @@ -404,5 +403,8 @@ umount /mnt/home && echo "Done." echo -echo "Rebooting" -reboot +clear + +echo "Installation finished!" +echo "Press [Enter] to shut down, then remove the installation media and start your system." +poweroff