diff --git a/setup b/setup index ba2dc78..b37df9b 100755 --- a/setup +++ b/setup @@ -85,6 +85,12 @@ grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo grub-mkconfig -o /boot/grub/grub.cfg +echo "Enter Swap Size: " +read swapsize +mkswap -U clear --size $swapsize --file /swapfile +swapon /swapfile +echo "/swapfile none swap defaults 0 0" >> /etc/fstab + echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "Enter Username: " read username