mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
adjust cmd
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 -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
|
||||||
|
Reference in New Issue
Block a user