wok annotate ipxe/stuff/ipxe.cmd @ rev 18835
Lighten megatools
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Tue Jan 19 21:01:01 2016 +0100 (2016-01-19) |
parents | db33cd473e3e |
children | c0ad10db4140 |
rev | line source |
---|---|
pascal@15368 | 1 #!ipxe |
pascal@15368 | 2 |
pascal@15368 | 3 set menu-timeout 3000 |
pascal@15385 | 4 dhcp || |
pascal@15368 | 5 |
pascal@15368 | 6 :menu |
pascal@15368 | 7 menu SliTaz net boot menu |
pascal@15385 | 8 item --key b boot Local boot |
pascal@15368 | 9 item --key l lan Your PXE boot |
pascal@15368 | 10 item --key w web SliTaz WEB boot |
pascal@15368 | 11 item --key r rolling SliTaz development version |
pascal@15368 | 12 item --key c config iPXE configuration |
pascal@15368 | 13 item --key e exit iPXE command line |
pascal@15368 | 14 choose --timeout ${menu-timeout} --default web target || goto exit |
pascal@15368 | 15 set menu-timeout 0 |
pascal@15368 | 16 goto ${target} |
pascal@15368 | 17 |
pascal@15385 | 18 :boot |
pascal@15385 | 19 exit |
pascal@15385 | 20 |
pascal@15368 | 21 :exit |
pascal@15368 | 22 help |
pascal@15368 | 23 echo Type 'exit' to get the back to the menu |
pascal@15368 | 24 shell |
pascal@15368 | 25 goto menu |
pascal@15368 | 26 |
pascal@15368 | 27 :web |
pascal@15368 | 28 imgfree |
pascal@15368 | 29 set weburl http://mirror.slitaz.org/pxe/ |
pascal@15368 | 30 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || |
pascal@15368 | 31 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/ |
pascal@15368 | 32 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || |
pascal@15368 | 33 set weburl http://download.tuxfamily.org/slitaz/pxe/ |
pascal@15368 | 34 set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || |
pascal@15368 | 35 goto menu |
pascal@15368 | 36 |
pascal@15368 | 37 :lan |
pascal@15368 | 38 autoboot || |
pascal@15368 | 39 goto menu |
pascal@15368 | 40 |
pascal@15368 | 41 :rolling |
pascal@15368 | 42 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso || |
pascal@15368 | 43 goto menu |
pascal@15368 | 44 |
pascal@15368 | 45 :config |
pascal@15368 | 46 config |
pascal@15368 | 47 goto menu |