Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-16 22:08:49 +02:00
parent 0c73c3bf67
commit cb0e774256

View File

@ -198,9 +198,9 @@ class FixServices(plugins.Plugin):
display.set('status', 'Restarting pwnagotchi now!') display.set('status', 'Restarting pwnagotchi now!')
display.update(force=True) display.update(force=True)
try: try:
# Run the monstart command to restart wlan0mon # Restarting bettercap and pwnagotchi
pwnagotchi.restart("AUTO")
logging.info("[Fix_Services systemd]: restarting bettercap and pwnagotchi") logging.info("[Fix_Services systemd]: restarting bettercap and pwnagotchi")
pwnagotchi.restart("AUTO")
except Exception as err: except Exception as err:
logging.error("[Fix_Services systemd]: %s" % repr(err)) logging.error("[Fix_Services systemd]: %s" % repr(err))