1
0
forked from extern/nix-config

Add GRUB_TIMEOUT=0

This commit is contained in:
Donovan Glover 2018-09-10 17:05:46 -04:00
parent f4ec70c603
commit 571ed6ff19
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -9,4 +9,13 @@ set -xe
arch-chroot /mnt grub-install /dev/sda
# This should work, since /etc/default/grub should exist after
# installing the grub package with pacman, although it hasn't
# been tested yet. This prevents the GRUB window from showing
# at boot, which is ideal for single operating system machines.
#
# In the future, if you need to use grub, simply chroot into
# your system, edit the config file, and grub-mkconfig once more.
sed -i '/GRUB_TIMEOUT/c\GRUB_TIMEOUT=0' /etc/default/grub
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg