slitaz-tools diff tinyutils/bootfloppybox @ rev 240
Use last menu button
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jul 16 16:35:12 2008 +0200 (2008-07-16) |
parents | 5ba386cd09f9 |
children | f5ad015a980d |
line diff
1.1 --- a/tinyutils/bootfloppybox Mon Jun 30 08:45:36 2008 +0000 1.2 +++ b/tinyutils/bootfloppybox Wed Jul 16 16:35:12 2008 +0200 1.3 @@ -317,6 +317,31 @@ 1.4 </hbox> 1.5 </frame> 1.6 " 1.7 + elif [ "$pkg" = "gpxe" ]; then 1.8 + tmp="$tmp 1.9 + <hbox> 1.10 + <text wrap=\"true\" use-markup=\"true\"> 1.11 + <label> \"<b>Boot URL:</b>\" </label> 1.12 + </text> 1.13 + <entry> 1.14 + <default>$(dd if=$file bs=1 skip=519 count=255 2>/dev/null | strings)</default> 1.15 + <variable>URL</variable> 1.16 + </entry> 1.17 + <button> 1.18 + <label>Update</label> 1.19 + <input file icon=\"reload\"></input> 1.20 + <action>echo -n \"\$URL\" | cat - /dev/zero | dd conv=notrunc bs=1 count=255 seek=519 of=$file 2>/dev/null</action> 1.21 + </button> 1.22 + </hbox> 1.23 + <hbox> 1.24 + <button> 1.25 + <label>Write floppy</label> 1.26 + <input file icon=\"forward\"></input> 1.27 + <action>$action $file > \$DEVICE</action> 1.28 + </button> 1.29 + </hbox> 1.30 + </frame> 1.31 +" 1.32 else 1.33 tmp="$tmp 1.34 <hbox> 1.35 @@ -355,7 +380,7 @@ 1.36 SmartBtmgr /usr/share/boot/btmgr btmgr This OS independent Smart Boot Manager can boot any partition or ATAPI CD-ROM. 1.37 Plop /usr/share/boot/plop.gz plop This non free Boot Manager can boot floppy, hardisk, USB or CD/DVD. Hit Ctrl-ESC for text mode. 1.38 Etherboot /usr/share/boot/etherboot etherboot This network bootloader provides a replacement for proprietary PXE or NBI ROMs. 1.39 -gPXE /boot/gpxe gpxe This PXE / iSCSI / AoE network bootloader boots from http://boot.slitaz.org/ by default. 1.40 +gPXE /boot/gpxe gpxe PXE / iSCSI / AoE network bootloader. 1.41 Memtest86+ /usr/share/boot/memtest.lzma memtest Memory failures detection tool. 1.42 Grub /usr/sbin/grub grub General purpose boot loader with command shell 1.43 EOT