# HG changeset patch # User Pascal Bellard # Date 1468532345 -7200 # Node ID f080d02e591a00ddf07b870a963662e94ace8d24 # Parent 232cc8814046c7a0d26ffdab62bc65823f18b68a ipxe: add ip config in menu (again) diff -r 232cc8814046 -r f080d02e591a ipxe/stuff/ipxe.cmd --- a/ipxe/stuff/ipxe.cmd Thu Jul 14 20:51:08 2016 +0000 +++ b/ipxe/stuff/ipxe.cmd Thu Jul 14 23:39:05 2016 +0200 @@ -1,8 +1,7 @@ #!ipxe set menu-timeout 3000 -dhcp || echo No DHCP -console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png +dhcp && console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png || :menu menu SliTaz net boot menu ${ip} ${gateway} ${dns} @@ -40,7 +39,7 @@ goto menu :web -isset $(ip} || dhcp || echo No DHCP again +isset $(ip} || dhcp || echo No DHCP imgfree set weburl http://mirror.slitaz.org/pxe/ chain --autofree ${weburl}ipxe/menu.ipxe && boot || @@ -57,12 +56,12 @@ goto menu :lan -isset $(ip} || dhcp || echo No DHCP again +isset $(ip} || dhcp || echo No DHCP autoboot || goto menu :rolling -isset $(ip} || dhcp || echo No DHCP again +isset $(ip} || dhcp || echo No DHCP sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso || goto menu