From 595833a7e69d3e3add620d39ce9b56879e663ebf Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Sun, 4 Apr 2021 07:19:52 -0400 Subject: [PATCH] Update Fedora-WorkStation-33.sh --- Fedora-WorkStation-33.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Fedora-WorkStation-33.sh b/Fedora-WorkStation-33.sh index 8903ab6..f4d5942 100644 --- a/Fedora-WorkStation-33.sh +++ b/Fedora-WorkStation-33.sh @@ -64,12 +64,12 @@ echo -e "${HIGHLIGHT}Configuring grub...${NC}" output "Please enter a grub sysadmin passphrase..." getPassphrase -echo "set superusers=\"sysadmin\"" >> /etc/grub.d/40_custom -echo -e "$PASS\n$PASS" | grub-mkpasswd-pbkdf2 | tail -n1 | awk -F" " '{print "password_pbkdf2 sysadmin " $7}' >> /etc/grub.d/40_custom -sed -ie '/echo "menuentry / s/echo "menuentry /echo "menuentry --unrestricted /' /etc/grub.d/10_linux -sed -ie '/^GRUB_CMDLINE_LINUX_DEFAULT=/ s/"$/ module.sig_enforce=yes"/' /etc/default/grub -echo "GRUB_SAVEDEFAULT=false" >> /etc/default/grub -grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg +echo "set superusers=\"sysadmin\"" | sudo tee --append /etc/grub.d/40_custom +echo -e "$PASS\n$PASS" | grub-mkpasswd-pbkdf2 | tail -n1 | awk -F" " '{print "password_pbkdf2 sysadmin " $7}' | sudo tee --append /etc/grub.d/40_custom +sudo sed -ie '/echo "menuentry / s/echo "menuentry /echo "menuentry --unrestricted /' /etc/grub.d/10_linux +sudo sed -ie '/^GRUB_CMDLINE_LINUX_DEFAULT=/ s/"$/ module.sig_enforce=yes"/' /etc/default/grub +echo "GRUB_SAVEDEFAULT=false" | sudo tee --append /etc/default/grub +sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg #Setup Firewalld sudo firewall-cmd --permanent --remove-port=1025-65535/udp