|
@@ -59,11 +59,15 @@ goto boot
|
|
|
|
|
|
:boot
|
|
:boot
|
|
imgfree
|
|
imgfree
|
|
-kernel http://${mirror}/${dir}/images/pxeboot/vmlinuz repo=http://${mirror}/${dir} ${params} ${netcfg} || chain --autofree mirrors.ipxe && goto boot
|
|
|
|
|
|
+kernel http://${mirror}/${dir}/images/pxeboot/vmlinuz repo=http://${mirror}/${dir} ${params} ${netcfg} || goto change_mirror
|
|
initrd http://${mirror}/${dir}/images/pxeboot/initrd.img ||
|
|
initrd http://${mirror}/${dir}/images/pxeboot/initrd.img ||
|
|
boot ||
|
|
boot ||
|
|
goto linux_menu
|
|
goto linux_menu
|
|
|
|
|
|
|
|
+:change_mirror
|
|
|
|
+chain --autofree mirrors.ipxe
|
|
|
|
+goto boot
|
|
|
|
+
|
|
:linux_menu
|
|
:linux_menu
|
|
clear menu
|
|
clear menu
|
|
chain linux.ipxe
|
|
chain linux.ipxe
|