Commit 140d0abc authored by Dominik Schachten's avatar Dominik Schachten
Browse files

Fix reboot entry

parent 8771e77f
......@@ -19,9 +19,11 @@ part=$(lsblk --noheadings -o path,mountpoint | grep /boot/ipxe | cut -f1 -d' ')
# re-create boot-entry
efibootmgr --create --bootnum 0042 --disk "$disk" --loader "\ipxe-loader.efi" --label iPXE-Launcher
efibootmgr --create --bootnum 9999 --disk "$disk" --loader "\ipxe-reboot.efi" --label Reboot
# fix boot order; should not be necessary if we start with a correct order
/var/spool/raj-scripts/ || echo skip boot order fix
# remove old ipxe Launcher
rm /boot/ipxe/_ipxe-loader.efi
rm /boot/ipxe/_ipxe-reboot.efi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment