wok-current rev 19329
ipxe: add ip config in menu (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 14 23:39:05 2016 +0200 (2016-07-14) |
parents | 232cc8814046 |
children | 85fd069a568f |
files | ipxe/stuff/ipxe.cmd |
line diff
1.1 --- a/ipxe/stuff/ipxe.cmd Thu Jul 14 20:51:08 2016 +0000 1.2 +++ b/ipxe/stuff/ipxe.cmd Thu Jul 14 23:39:05 2016 +0200 1.3 @@ -1,8 +1,7 @@ 1.4 #!ipxe 1.5 1.6 set menu-timeout 3000 1.7 -dhcp || echo No DHCP 1.8 -console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png 1.9 +dhcp && console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png || 1.10 1.11 :menu 1.12 menu SliTaz net boot menu ${ip} ${gateway} ${dns} 1.13 @@ -40,7 +39,7 @@ 1.14 goto menu 1.15 1.16 :web 1.17 -isset $(ip} || dhcp || echo No DHCP again 1.18 +isset $(ip} || dhcp || echo No DHCP 1.19 imgfree 1.20 set weburl http://mirror.slitaz.org/pxe/ 1.21 chain --autofree ${weburl}ipxe/menu.ipxe && boot || 1.22 @@ -57,12 +56,12 @@ 1.23 goto menu 1.24 1.25 :lan 1.26 -isset $(ip} || dhcp || echo No DHCP again 1.27 +isset $(ip} || dhcp || echo No DHCP 1.28 autoboot || 1.29 goto menu 1.30 1.31 :rolling 1.32 -isset $(ip} || dhcp || echo No DHCP again 1.33 +isset $(ip} || dhcp || echo No DHCP 1.34 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso || 1.35 goto menu 1.36