wok diff ipxe/stuff/ipxe.cmd @ rev 22078

updated units (2.02 -> 2.19)
author Hans-G?nter Theisgen
date Tue Oct 29 17:24:05 2019 +0100 (2019-10-29)
parents 3fe265729ca7
children 4c700cf9a7cd
line diff
     1.1 --- a/ipxe/stuff/ipxe.cmd	Thu Feb 01 20:06:00 2018 +0100
     1.2 +++ b/ipxe/stuff/ipxe.cmd	Tue Oct 29 17:24:05 2019 +0100
     1.3 @@ -8,15 +8,19 @@
     1.4  menu SliTaz net boot menu
     1.5  item --key b boot	Local boot
     1.6  item --gap
     1.7 +item --gap Configuration
     1.8 +item --key e exit	iPXE command line
     1.9 +item --key c config	iPXE configuration
    1.10 +isset ${ip} || goto noip
    1.11 +item --gap
    1.12  item --gap Network boot
    1.13 -isset ${filename} && item --key l lan	Your PXE boot ${filename}
    1.14 +isset ${filename} && item --key l lan	Your PXE boot ${filename} ||
    1.15  item --key w web	SliTaz WEB boot
    1.16  item --key r rolling	SliTaz development version
    1.17 -item --gap
    1.18 -item --gap Configuration
    1.19 -isset ${ip} || item --key i ipset	IP settings
    1.20 -item --key c config	iPXE configuration
    1.21 -item --key e exit	iPXE command line
    1.22 +goto endip
    1.23 +:noip
    1.24 +item --key i ipset	IP settings
    1.25 +:endip
    1.26  choose --timeout ${menu-timeout} --default web target || goto exit
    1.27  set menu-timeout 0
    1.28  isset ${dns} || set dns 8.8.8.8
    1.29 @@ -40,7 +44,6 @@
    1.30  goto menu
    1.31  
    1.32  :web
    1.33 -isset ${ip} || dhcp || echo No DHCP
    1.34  imgfree
    1.35  set weburl http://mirror.slitaz.org/pxe/
    1.36  chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
    1.37 @@ -57,12 +60,10 @@
    1.38  goto menu
    1.39  
    1.40  :lan
    1.41 -isset ${ip} || dhcp || echo No DHCP
    1.42  autoboot ||
    1.43  goto menu
    1.44  
    1.45  :rolling
    1.46 -isset ${ip} || dhcp || echo No DHCP
    1.47  sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso ||
    1.48  goto menu
    1.49