prplfoundation / prplMesh

This repository moved to https://gitlab.com/prpl-foundation/prplmesh/prplMesh
Other
65 stars 32 forks source link

PPM-314 common: prplmesh_utils.sh: fix BML operational check output #1577

Closed orenvor closed 4 years ago

orenvor commented 4 years ago

Align prplmesh_utils.sh status output to original report format:

OK Main agent operational FAIL wlan0 radio agent operational FAIL wlan2 radio agent operational

The prplmesh_utils.sh status script will reports OK for any radio interface which is connected and operational. FAIL will be reported for any radio interface which is connected but not operational. Additionally prplmesh_utils.sh status will report FAIL when WLAN1_IFACE and WLAN2_IFACE are not connected.

Fixes https://jira.prplfoundation.org/browse/PPM-314