same as in the py file
This commit is contained in:
@ -14,7 +14,7 @@ blink_led() {
|
|||||||
|
|
||||||
# check if brcm is stuck
|
# check if brcm is stuck
|
||||||
check_brcm() {
|
check_brcm() {
|
||||||
if [[ "$(journalctl -n10 -k --since '5 minutes ago' | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
|
if [[ "$(journalctl -n10 -k --since -5m | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user