commit 30d57f6b6dc568a2817086e5762216aabbf042c0
parent 569a7b6bdecf3d577e1986455de7dc6c87448e6f
Author: awy <awy@awy.one>
Date: Thu, 10 Apr 2025 15:37:17 +0300
set grub timeout to 1 sec
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/post_chroot.sh b/post_chroot.sh
@@ -40,6 +40,7 @@ binkernel()
2) pacman -S linux-zen-headers --noconfirm ;;
*) printf "Invalid kernel" && exit 1 ;;
esac
+ sed "s#GRUB_TIMEOUT=.*#GRUB_TIMEOUT=1#g" /etc/default/grub
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
}