slitaz-tools rev 290

netbox: tiny cosmetic change in wifi tab
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 13 15:51:44 2009 +0100 (2009-02-13)
parents f3862ca85e92
children b8a23fe2b8af
files tinyutils/netbox
line diff
     1.1 --- a/tinyutils/netbox	Thu Feb 05 00:50:56 2009 +0100
     1.2 +++ b/tinyutils/netbox	Fri Feb 13 15:51:44 2009 +0100
     1.3 @@ -698,18 +698,6 @@
     1.4        </vbox>"
     1.5  tmp2='<vbox>
     1.6        <hbox>
     1.7 -        <button>
     1.8 -          <label>Load</label>
     1.9 -          <input file icon="forward"></input>
    1.10 -          <action>modprobe $MODULE</action>
    1.11 -	  <action type="exit">restart</action>
    1.12 -        </button>
    1.13 -        <button>
    1.14 -          <label>Unload</label>
    1.15 -          <input file icon="forward"></input>
    1.16 -	  <action>modprobe -r $MODULE</action>
    1.17 -	  <action type="exit">restart</action>
    1.18 -        </button>
    1.19          <text use-markup="true">
    1.20            <label>"<b>Wifi Module :</b>"</label>
    1.21          </text>
    1.22 @@ -718,9 +706,21 @@
    1.23  tmp2="$tmp2$(find /lib/modules/$(uname -r)/kernel/drivers/net/wireless -type f 2> /dev/null |  sed 's,/.*/\(.*\).ko.*,<item>\1</item>,')"
    1.24  tmp3='</combobox>
    1.25          <button>
    1.26 -        <label>Lsmod</label>
    1.27 -        <input file icon="computer"></input>
    1.28 -	  <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x25 -title "Modules (q to quit)" -e "lsmod | less"</action>
    1.29 +          <label>Load</label>
    1.30 +          <input file icon="forward"></input>
    1.31 +          <action>modprobe $MODULE</action>
    1.32 +	      <action type="exit">restart</action>
    1.33 +        </button>
    1.34 +        <button>
    1.35 +          <label>Unload</label>
    1.36 +          <input file icon="undo"></input>
    1.37 +	      <action>modprobe -r $MODULE</action>
    1.38 +	      <action type="exit">restart</action>
    1.39 +        </button>
    1.40 +        <button>
    1.41 +          <label>Lsmod</label>
    1.42 +          <input file icon="computer"></input>
    1.43 +	      <action>xterm -fa MiscFixed -fs 11 -bg gray93 -fg black -geometry 80x25 -title "Modules (q to quit)" -e "lsmod | less"</action>
    1.44          </button>
    1.45        </hbox>'
    1.46  tmp2="$tmp2$tmp3"