adjust cmd

This commit is contained in:
dadav 2020-04-17 16:39:31 +02:00
parent 311931c81d
commit 67b4747afa

View File

@ -14,7 +14,7 @@ blink_led() {
# check if brcm is stuck
check_brcm() {
if [[ "$(journalctl -b0 -k --no-pager | tail -10 | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 3 ]]; then
if [[ "$(journalctl -n10 -k | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 3 ]]; then
return 1
fi
return 0