Sfoglia il codice sorgente

Adding a sleep to see why it redirected and bumping version again

Antony Messerli 9 anni fa
parent
commit
abd7401a1a
2 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 2 1
      ipxe/disks/netboot.xyz-dhcp
  2. 2 1
      ipxe/disks/netboot.xyz-static

+ 2 - 1
ipxe/disks/netboot.xyz-dhcp

@@ -1,7 +1,7 @@
 #!ipxe
 
 :start
-set version 1.02
+set version 1.03
 echo netboot.xyz iPXE loader v${version}
 goto dhcp
 
@@ -23,6 +23,7 @@ goto menu || goto failsafe
 
 :menu
 chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS appears to have failed... attemping HTTP
+sleep 5
 chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP has failed, localbooting...
 goto boot
 

+ 2 - 1
ipxe/disks/netboot.xyz-static

@@ -1,7 +1,7 @@
 #!ipxe
 
 :start
-set version 1.02
+set version 1.03
 echo netboot.xyz iPXE loader v${version}
 goto static
 
@@ -19,6 +19,7 @@ goto menu || goto failsafe
 
 :menu
 chain --autofree https://boot.netboot.xyz/menu.ipxe || echo HTTPS appears to have failed... attemping HTTP
+sleep 5
 chain --autofree http://boot.netboot.xyz/menu.ipxe || echo HTTP has failed, localbooting...
 goto boot