same as in the py file

This commit is contained in:
dadav 2020-04-19 16:48:11 +02:00
parent f616871068
commit c2f9860bc5

View File

@ -14,7 +14,7 @@ blink_led() {
# check if brcm is stuck
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
fi
return 0