Remove any alternative limine.conf files
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user