Changeset 14588


Ignore:
Timestamp:
06/11/10 07:35:20 (3 years ago)
Author:
eko
Message:

fix snmpd.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/others/wl_snmpd.sh

    r12016 r14588  
    77  id=1 
    88  lastid=0 
    9   noise_reference=$(wl noise | cut -d" " -f3) 
     9  noise_reference=$(wl -i `nvram get wl0_ifname` noise | cut -d" " -f3) 
    1010   
    11   for mac in $(wl assoclist | cut -d" " -f2) 
     11  for mac in $(wl -i `nvram get wl0_ifname` assoclist | cut -d" " -f2) 
    1212  do 
    1313    if test $lastid -eq 0 
     
    2525    fi 
    2626   
    27     rssi=$(wl rssi $mac | cut -d" " -f3) 
     27    rssi=$(wl -i `nvram get wl0_ifname` rssi $mac | cut -d" " -f3) 
    2828    if test $rssi -eq 0 
    2929    then 
Note: See TracChangeset for help on using the changeset viewer.