From c2084dcb0e8864d6e6bc4ebe071823c7eeadc9de Mon Sep 17 00:00:00 2001 From: Jeroen Oudshoorn Date: Fri, 8 Sep 2023 20:26:37 +0200 Subject: [PATCH] Revert "Version 2.3.2" This reverts commit 036d81eeab6992c55264b703340b4f0eb81a2511. --- pwnagotchi/plugins/default/fix_services.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwnagotchi/plugins/default/fix_services.py b/pwnagotchi/plugins/default/fix_services.py index c4c6162f..ae8e3e18 100644 --- a/pwnagotchi/plugins/default/fix_services.py +++ b/pwnagotchi/plugins/default/fix_services.py @@ -114,6 +114,7 @@ class Fix_Services(plugins.Plugin): other_other_last_lines = ''.join( list(TextIOWrapper(subprocess.Popen(['tail', '-n10', '/var/log/pwnagotchi.log'], stdout=subprocess.PIPE).stdout))[-10:]) + print(other_other_last_lines) # don't check if we ran a reset recently logging.debug("[Fix_Services]**** epoch") if time.time() - self.LASTTRY > 180: @@ -176,7 +177,7 @@ class Fix_Services(plugins.Plugin): logging.error("[Fix_Services monstart]: %s" % repr(err)) # Look for pattern 3 - elif len(self.pattern4.findall(other_other_last_lines)) >= 3: + elif len(self.pattern3.findall(other_other_last_lines)) >= 1: logging.info("[Fix_Services] wlan0 is down!") if hasattr(agent, 'view'): display = agent.view()