summaryrefslogtreecommitdiff
path: root/configs/releng/efiboot/EFI/boot/startup_usb.nsh
blob: 439e4000bc01e82f2ffb4cf4cd42145bfbd299a5 (plain)
1
2
3
4
5
6
7
8
9
10
@echo -off

for %m run (0 20)
    if exist fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz then
        fs%m:
        cd fs%m:\%INSTALL_DIR%\boot\x86_64
        echo "Launching Archiso Kernel fs%m:\%INSTALL_DIR%\boot\x86_64\vmlinuz"
        vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% initrd=\%INSTALL_DIR%\boot\x86_64\archiso.img
    endif
endfor