forked from extern/nix-config
Add GRUB_TIMEOUT=0
This commit is contained in:
parent
f4ec70c603
commit
571ed6ff19
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user