only go back 5 mins
This commit is contained in:
1 parent
a2e29d64d2
commit
c726779f6e
2 files changed
+2
-2
No files matched your search
@@ -14,7 +14,7 @@ blink_led() {
|
||||
|
||||
# check if brcm is stuck
|
||||
check_brcm() {
|
||||
if [[ "$(journalctl -n10 -k | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
|
||||
if [[ "$(journalctl -n10 -k --since '5 minutes ago' | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then
|
||||
return 1
|
||||
fi
|
||||
return 0
|
||||
|
||||
Reference in new issue
Block a user