slitaz-tools rev 169

netbox/PXE: list boot files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 04 12:08:40 2008 +0000 (2008-05-04)
parents c3f3b2feb87c
children ba7eb3717f49
files tinyutils/netbox
line diff
     1.1 --- a/tinyutils/netbox	Sun May 04 09:20:52 2008 +0000
     1.2 +++ b/tinyutils/netbox	Sun May 04 12:08:40 2008 +0000
     1.3 @@ -454,6 +454,13 @@
     1.4            <action type="lauch">leafpad $PXE_CONF</action>
     1.5          </button>
     1.6        </hbox>
     1.7 +      <hbox>
     1.8 +        <button>
     1.9 +          <input file icon="system-file-manager"></input>
    1.10 +	  <label>Network boot files</label>
    1.11 +	  <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 100x25 -title "Network boot files (q to quit)" -e "find $(dirname $(dirname $PXE_CONF)) -exec ls -ld {} \; | less"</action>
    1.12 +        </button>
    1.13 +      </hbox>
    1.14       </frame>
    1.15  '
    1.16  [ -f /usr/share/boot/pxelinux.0.lzma -a -x /usr/bin/tftpd -a \