Skip to content

Commit

Permalink
removed wireless neighbour checks, too flaky in lowpri scan (and non-…
Browse files Browse the repository at this point in the history
…lowpri disturbes mesh/ap too much)
  • Loading branch information
Adorfer committed Oct 6, 2021
1 parent 87189ef commit 10abcbe
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions gluon-linkcheck/files/lib/gluon/linkcheck/linkcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ for linkexist in $linksexist; do
sleep 4
fi
bsses=$(cat $iwfile|grep "BSS .*:.*:.*:.*:.*:.*(on.*)"|wc -l)
unset bssid
bssid=$(uci get $linkexist.mesh_id 2>/dev/null)
if [ -z "$bssid" ] ; then
bssid=$(uci get $linkexist.ssid)
fi
neighbours=$(cat $iwfile|grep $bssid|wc -l)
checks="neighbours bsses"
# unset bssid
# bssid=$(uci get $linkexist.mesh_id 2>/dev/null)
# if [ -z "$bssid" ] ; then
# bssid=$(uci get $linkexist.ssid)
# fi
# neighbours=$(cat $iwfile|grep $bssid|wc -l)
# checks="neighbours bsses"
checks="bsses"
for check in $checks; do
wert=$(eval echo \$$check)
valuecheck $check
Expand Down

0 comments on commit 10abcbe

Please sign in to comment.