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