Remove any alternative limine.conf files

This commit is contained in:
Ryan Hughes
2025-11-07 14:46:29 -05:00
parent 7f9ee95e1a
commit 6cdf4a3790

10
migrations/1762446739.sh Normal file
View File

@@ -0,0 +1,10 @@
echo "Remove alternative limine.conf files"
if [ ! -f /boot/limine.conf ]; then
echo "Error: /boot/limine.conf does not exist. Do not reboot without resolving this issue!"
exit 1
fi
[ -f /boot/EFI/limine/limine.conf ] && sudo rm -f /boot/EFI/limine/limine.conf
[ -f /boot/EFI/BOOT/limine.conf ] && sudo rm -f /boot/EFI/BOOT/limine.conf
[ -f /boot/limine/limine.conf ] && sudo rm -f /boot/limine/limine.conf