Skip to content

Commit

Permalink
suppress errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Adorfer authored Oct 9, 2019
1 parent b032b38 commit e0c501f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ scan() {
}

# check all radios for lost neighbours
for mesh_radio in `uci show wireless | grep -E -o '(ibss|mesh)_radio[0-9]+' | awk '!seen[$0]++'`; do
for mesh_radio in `uci show wireless 2>/dev/null| grep -E -o '(ibss|mesh)_radio[0-9]+' | awk '!seen[$0]++'`; do
radio="$(uci get wireless.$mesh_radio.device)"
if [[ "$(uci -q get wireless.$radio.disabled)" != "1" && "$(uci -q get wireless.$mesh_radio.disabled)" != "1" ]]; then
DEV="$(uci get wireless.$mesh_radio.ifname)"
Expand Down

0 comments on commit e0c501f

Please sign in to comment.