|
@@ -19,6 +19,8 @@ prompt --key m --timeout 4000 Hit the ${bold}m${boldoff} key to open failsafe me
|
|
:dhcp
|
|
:dhcp
|
|
echo
|
|
echo
|
|
dhcp || goto netconfig
|
|
dhcp || goto netconfig
|
|
|
|
+isset ${next-server} && iseq ${filename} netboot.xyz.kpxe && goto tftpmenu
|
|
|
|
+isset ${next-server} && iseq ${filename} netboot.xyz.efi && goto tftpmenu
|
|
goto menu
|
|
goto menu
|
|
|
|
|
|
:failsafe
|
|
:failsafe
|
|
@@ -46,8 +48,10 @@ ifopen net${net}
|
|
echo Attempting chainload of ${boot_domain}...
|
|
echo Attempting chainload of ${boot_domain}...
|
|
goto menu || goto failsafe
|
|
goto menu || goto failsafe
|
|
|
|
|
|
|
|
+:tftpmenu
|
|
|
|
+chain --autofree tftp://${next-server}/menu.ipxe || echo ${TFTP_ERR} && goto menu
|
|
|
|
+
|
|
:menu
|
|
:menu
|
|
-chain --autofree tftp://${next-server}/menu.ipxe || echo ${TFTP_ERR}
|
|
|
|
set conn_type https
|
|
set conn_type https
|
|
chain --autofree https://${boot_domain}/menu.ipxe || echo ${HTTPS_ERR}
|
|
chain --autofree https://${boot_domain}/menu.ipxe || echo ${HTTPS_ERR}
|
|
sleep 5
|
|
sleep 5
|