summaryrefslogtreecommitdiff
path: root/configs/releng/efiboot/EFI/boot/startup.nsh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/releng/efiboot/EFI/boot/startup.nsh')
-rw-r--r--configs/releng/efiboot/EFI/boot/startup.nsh10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/releng/efiboot/EFI/boot/startup.nsh b/configs/releng/efiboot/EFI/boot/startup.nsh
new file mode 100644
index 0000000..f50aed2
--- /dev/null
+++ b/configs/releng/efiboot/EFI/boot/startup.nsh
@@ -0,0 +1,10 @@
+@echo -off
+
+for %m run (0 9)
+ if exist fs%m:\EFI\archiso\vmlinuz.efi then
+ fs%m:
+ cd fs%m:\EFI\archiso
+ echo "Launching Arch Linux ISO Kernel fs%m:\EFI\archiso\vmlinuz.efi"
+ vmlinuz.efi archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd=\EFI\archiso\archiso.img
+ endif
+endfor