wok diff ipxe/stuff/ipxe.cmd @ rev 15368
Up ipxe (1.0.0-20130925)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 14 13:38:36 2013 +0000 (2013-10-14) |
parents | |
children | 1019443a6c35 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ipxe/stuff/ipxe.cmd Mon Oct 14 13:38:36 2013 +0000 1.3 @@ -0,0 +1,43 @@ 1.4 +#!ipxe 1.5 + 1.6 +set menu-timeout 3000 1.7 +dhcp 1.8 + 1.9 +:menu 1.10 +menu SliTaz net boot menu 1.11 +item --key l lan Your PXE boot 1.12 +item --key w web SliTaz WEB boot 1.13 +item --key r rolling SliTaz development version 1.14 +item --key c config iPXE configuration 1.15 +item --key e exit iPXE command line 1.16 +choose --timeout ${menu-timeout} --default web target || goto exit 1.17 +set menu-timeout 0 1.18 +goto ${target} 1.19 + 1.20 +:exit 1.21 +help 1.22 +echo Type 'exit' to get the back to the menu 1.23 +shell 1.24 +goto menu 1.25 + 1.26 +:web 1.27 +imgfree 1.28 +set weburl http://mirror.slitaz.org/pxe/ 1.29 +set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 1.30 +set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/ 1.31 +set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 1.32 +set weburl http://download.tuxfamily.org/slitaz/pxe/ 1.33 +set 210:string ${weburl} && chain ${weburl}pxelinux.0 && boot || 1.34 +goto menu 1.35 + 1.36 +:lan 1.37 +autoboot || 1.38 +goto menu 1.39 + 1.40 +:rolling 1.41 +sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso || 1.42 +goto menu 1.43 + 1.44 +:config 1.45 +config 1.46 +goto menu