Rev 30 |
|
Rev 31 |
Line 5... |
|
Line 5... |
# name : wifimon |
|
# name : wifimon |
# description : hostap and madwifi powered card monitoring |
|
# description : hostap and madwifi powered card monitoring |
# license : GPL |
|
# license : GPL |
###################################################################### |
|
###################################################################### |
|
|
|
wl_version="0.5.7pre5" |
|
wl_version="0.5.7pre6" |
|
|
|
###################################################################### |
|
###################################################################### |
#custom settings |
|
#custom settings |
|
|
|
PATH=$PATH:$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin |
|
PATH=$PATH:$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin |
Line 438... |
|
Line 438... |
then |
|
then |
echo -n $wl_macparam | $wl_awkcmd '{print $1,$2" "}' |
|
echo -n $wl_macparam | $wl_awkcmd '{print $1,$2" "}' |
fi |
|
fi |
if [ -d $wl_madwifi$wl_iface ] |
|
if [ -d $wl_madwifi$wl_iface ] |
then |
|
then |
echo -n $wl_rxtx |
|
echo $wl_rxtx |
fi |
|
fi |
echo "" |
|
|
fi |
|
fi |
w_bar |
|
w_bar |
else |
|
else |
if [ $wcm_macoff -eq 0 ] |
|
if [ $wcm_macoff -eq 0 ] |
then |
|
then |
Line 591... |
|
Line 590... |
then |
|
then |
wcm_ifc="$wcm_ifc $wl_iface" |
|
wcm_ifc="$wcm_ifc $wl_iface" |
wl_flg=1 |
|
wl_flg=1 |
fi |
|
fi |
done |
|
done |
|
|
for wl_iface in `ls $wl_sysdev | grep "ath[0-9]"` |
|
|
do |
|
|
if [ "a-$wl_iface" = "a$1" ] |
|
|
then |
|
|
wcm_ifc="$wcm_ifc $wl_iface" |
|
|
wl_flg=1 |
|
|
fi |
|
|
done |
|
|
|
fi |
|
fi |
if [ $wl_flg -eq 0 ] |
|
if [ $wl_flg -eq 0 ] |
then |
|
then |
wl_unknown="$wl_unknown$1 " |
|
wl_unknown="$wl_unknown$1 " |
fi |
|
fi |