mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-10 15:54:25 +00:00
fix(deck): Extend GRUB hidden timeout to 3 seconds
Resolves issues with 1 second being too short for Deck users to access GRUB
This commit is contained in:
parent
04a6a588aa
commit
40319713e2
@ -187,7 +187,7 @@ hide-grub:
|
||||
#!/usr/bin/env bash
|
||||
sudo sed -i 's/GRUB_TIMEOUT=5/GRUB_TIMEOUT=0/g' /etc/default/grub
|
||||
echo 'GRUB_TIMEOUT_STYLE=hidden' | sudo tee -a /etc/default/grub 1>/dev/null
|
||||
echo 'GRUB_HIDDEN_TIMEOUT=1' | sudo tee -a /etc/default/grub 1>/dev/null
|
||||
echo 'GRUB_HIDDEN_TIMEOUT=3' | sudo tee -a /etc/default/grub 1>/dev/null
|
||||
if [ -f '/boot/efi/EFI/fedora/grub.cfg' ]; then
|
||||
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
|
||||
else
|
||||
@ -196,7 +196,7 @@ hide-grub:
|
||||
|
||||
unhide-grub:
|
||||
#!/usr/bin/env bash
|
||||
sudo sed -i '/GRUB_HIDDEN_TIMEOUT=1/d' /etc/default/grub
|
||||
sudo sed -i '/GRUB_HIDDEN_TIMEOUT=3/d' /etc/default/grub
|
||||
sudo sed -i '/GRUB_TIMEOUT_STYLE=hidden/d' /etc/default/grub
|
||||
sudo sed -i 's/GRUB_TIMEOUT=0/GRUB_TIMEOUT=5/g' /etc/default/grub
|
||||
if [ -f '/boot/efi/EFI/fedora/grub.cfg' ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user