# HG changeset patch # User Christophe Lincoln # Date 1208898546 -7200 # Node ID db65cf82fa6a51ddd696762590fc725498a30872 # Parent 9c45a9c80fb78ee39ec8c3cfa480afaec681b8c0 wireless_tools: Add wifibox and desktop file diff -r 9c45a9c80fb7 -r db65cf82fa6a wireless_tools/receipt --- a/wireless_tools/receipt Tue Apr 22 23:01:10 2008 +0200 +++ b/wireless_tools/receipt Tue Apr 22 23:09:06 2008 +0200 @@ -26,11 +26,13 @@ { _pkg=$WOK/$PACKAGE/${PACKAGE}.${VERSION}/_pkg - mkdir -p $fs/usr/lib + mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib - strip -s $fs/usr/sbin/* + # Wifibox + cp stuff/wifibox $fs/usr/bin + cp stuff/wifibox.desktop $fs/usr/share/applications } # Rules to clean extras dirs or files diff -r 9c45a9c80fb7 -r db65cf82fa6a wireless_tools/stuff/wifibox --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wireless_tools/stuff/wifibox Tue Apr 22 23:09:06 2008 +0200 @@ -0,0 +1,174 @@ +#!/bin/sh +# +# Gtkdialog box interafce for secure file transfer with scp from Dropbear. +# - SliTaz GNU/Linux 2008. +# +VERSION=20080415 + +# Interafce status with iwconfig without arguments to show all +# connections. +# +export IWCONFIG=' + + + + + + + date + + + + iwconfig 2>&1 + + + + + + + +' + +# List loaded modules +# +export LSMOD=' + + + + + + + date + + + + lsmod + + + + + + + +' + +# Main window. +export WIFI_DIALOG=' + + + + + + + + + + + + + + + + + + + wlan0 + INTERFACE + + + + + + + + any + ESSID + + + + + + + + + + + + + + + MODULE + ipw2200 + ipw2100 + bcm43xx + b43 + b43legacy + rt2500pci + rt2x00usb + rt2x00lib + rt2400pci + rt2x00pci + rt2500usb + zd1211rw + + + + + + + + + + + + + + + +' + +gtkdialog --program=WIFI_DIALOG + +exit 0 diff -r 9c45a9c80fb7 -r db65cf82fa6a wireless_tools/stuff/wifibox.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wireless_tools/stuff/wifibox.desktop Tue Apr 22 23:09:06 2008 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Wifibox Configure Wireless +Name[fr]=Wifibox Connexion sans fil +Comment=Configure Wifi connection +Exec=subox wifibox +Icon=/usr/share/icons/Tango/16x16/devices/network-wireless.png +Type=Application +Categories=System;Application;