wok view ipxe/stuff/ipxe.cmd @ rev 19323

syslinux: fix isofs checksum
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 14 10:16:48 2016 +0200 (2016-07-14)
parents f6ecd4224bf8
children e27bc578d1f6
line source
1 #!ipxe
3 set menu-timeout 3000
4 dhcp || echo No DHCP
6 :menu
7 menu SliTaz net boot menu ${ip} ${gateway} ${dns}
8 item --key b boot Local boot
9 item --key l lan Your PXE boot ${filename}
10 item --key w web SliTaz WEB boot
11 item --key r rolling SliTaz development version
12 item --key c config iPXE configuration
13 item --key e exit iPXE command line
14 choose --timeout ${menu-timeout} --default web target || goto exit
15 set menu-timeout 0
16 isset $(ip} || dhcp || echo No DHCP again
17 isset ${dns} || set dns 8.8.8.8
18 goto ${target}
20 :boot
21 exit
23 :exit
24 help
25 echo Type 'exit' to get the back to the menu
26 shell
27 goto menu
29 :web
30 imgfree
31 set weburl http://mirror.slitaz.org/pxe/
32 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
33 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/
34 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
35 set weburl http://download.tuxfamily.org/slitaz/pxe/
36 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
37 set weburl http://mirror1.slitaz.org/pxe/
38 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
39 set weburl http://mirror2.slitaz.org/pxe/
40 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
41 set weburl http://mirror3.slitaz.org/pxe/
42 chain --autofree ${weburl}ipxe/menu.ipxe && boot ||
43 goto menu
45 :lan
46 autoboot ||
47 goto menu
49 :rolling
50 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso ||
51 goto menu
53 :config
54 config
55 goto menu