mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Version 2.2.6:
upgraded fix_brcmf_plugin.py to look for firmware halted or crashed log Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com> Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -1 +1 @@
|
|||||||
__version__ = '2.2.5'
|
__version__ = '2.2.6'
|
||||||
|
@ -153,8 +153,8 @@ class Fix_BRCMF(plugins.Plugin):
|
|||||||
|
|
||||||
# Look for pattern 3
|
# Look for pattern 3
|
||||||
elif len(self.pattern3.findall(other_last_lines)) >= 1:
|
elif len(self.pattern3.findall(other_last_lines)) >= 1:
|
||||||
if self.pattern3.search(last_lines):
|
if self.pattern3.search(other_last_lines):
|
||||||
logging.info("[FixBRCMF]**** Should trigger a reload of the wlan0mon device:\n%s" % last_lines)
|
logging.info("[FixBRCMF]**** Should trigger a reload of the wlan0mon device:\n%s" % other_last_lines)
|
||||||
if hasattr(agent, 'view'):
|
if hasattr(agent, 'view'):
|
||||||
display = agent.view()
|
display = agent.view()
|
||||||
display.set('status', 'Firmware has halted or crashed. Restarting.')
|
display.set('status', 'Firmware has halted or crashed. Restarting.')
|
||||||
|
Reference in New Issue
Block a user