wifimon |
Subversion Repositories: |
Rev 39 | Rev 40 | |
---|---|---|
Line 367... | Line 367... | |
fi |
fi | |
|
| |
if [ -d $wl_sysdev$wl_iface ] |
if [ -d $wl_sysdev$wl_iface ] | |
then |
then | |
wl_numcl=`$wl_iwlcmd $wl_iface peers | grep -c [0-9a-fA-F][0-9a-fA-F]:[0-9a-fA-F][0-9a-fA-F]:` |
wl_numcl=`$wl_iwlcmd $wl_iface peers | grep -c [0-9a-fA-F][0-9a-fA-F]:[0-9a-fA-F][0-9a-fA-F]:` | |
wl_macs=`iwlist $wl_iface peers | grep [0-9a-fA-F][0-9a-fA-F]:[0-9a-fA-F][0-9a-fA-F]: | $wl_awkcmd '{print $1}'` |
wl_macs=`$wl_iwlcmd $wl_iface peers | grep [0-9a-fA-F][0-9a-fA-F]:[0-9a-fA-F][0-9a-fA-F]: | $wl_awkcmd '{print $1}'` | |
fi |
fi | |
|
| |
echo $wlm_number_of_clients $wl_numcl |
echo $wlm_number_of_clients $wl_numcl | |
|
| |
wl_numcllast=$(($wl_numcllast + $wl_numcl)) |
wl_numcllast=$(($wl_numcllast + $wl_numcl)) |