adjust cmd
This commit is contained in:
parent
311931c81d
commit
67b4747afa
@ -14,7 +14,7 @@ blink_led() {
|
|||||||
|
|
||||||
# check if brcm is stuck
|
# check if brcm is stuck
|
||||||
check_brcm() {
|
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
|
return 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user