mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
* Extract the duplicated limine.conf into its own file * Extract the /etc/limine/default config as well
17 lines
491 B
Bash
Executable File
17 lines
491 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Overwrite the user config for the Limine bootloader and rebuild it.
|
|
|
|
if [[ -f /boot/EFI/Linux/omarchy_linux.efi ]] && [[ -f /boot/EFI/Linux/$(cat /etc/machine-id)_linux.efi ]]; then
|
|
echo "Cleanup extra UKI"
|
|
sudo rm -f /boot/EFI/Linux/$(cat /etc/machine-id)_linux.efi
|
|
fi
|
|
echo "Resetting limine config"
|
|
|
|
sudo mv /boot/limine.conf /boot/limine.conf.bak
|
|
|
|
sudo cp ~/.local/share/omarchy/default/limine/limine.conf /boot/limine.conf
|
|
|
|
sudo limine-update
|
|
sudo limine-snapper-sync
|