Merge pull request #876 from grokbeer/watchdog-reboot

Have watchdog plugin reboot system rather than restart application
This commit is contained in:
Simone Margaritelli authored and GitHub committed 2021-04-18 15:14:59 +02:00
commit b6cf510f8e
1 file changed
+1 -1
+1 -1
View File
@@ -33,4 +33,4 @@ class Watchdog(plugins.Plugin):
logging.info('[WATCHDOG] Blind-Bug detected. Restarting.')
mode = 'MANU' if agent.mode == 'manual' else 'AUTO'
import pwnagotchi
pwnagotchi.restart(mode=mode)
pwnagotchi.reboot(mode=mode)