Hid systemd-boot menu and disabled entry editing.
CI / Linting (push) Successful in 33s

This commit is contained in:
2026-06-20 12:45:35 -04:00
parent ce56465189
commit 303ca90713
+4 -3
View File
@@ -20,7 +20,7 @@
# - Runs bootctl install to set up EFI boot manager # - Runs bootctl install to set up EFI boot manager
# - Creates boot entry with LUKS unlock parameters # - Creates boot entry with LUKS unlock parameters
# - Supports both single-disk and RAID1 configurations # - Supports both single-disk and RAID1 configurations
# - Configures loader.conf timeout setting # - Configures loader.conf timeout and editor settings
# Install systemd-boot bootloader # Install systemd-boot bootloader
install_bootloader() { install_bootloader() {
@@ -93,9 +93,10 @@ create_boot_entry() {
fi fi
} }
# Configure loader.conf timeout # Configure loader.conf
configure_loader() { configure_loader() {
run_cmd_in_chroot sed -i '/^#timeout 3/s/^#//' /boot/loader/loader.conf run_cmd_in_chroot sed -i 's/^#timeout 3/timeout menu-hidden/' /boot/loader/loader.conf
run_cmd_in_chroot sh -c 'printf "\neditor no\n" >> /boot/loader/loader.conf'
} }
# Full bootloader setup # Full bootloader setup