Have watchdog plugin reboot system rather than restart application
Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
This commit is contained in:
parent
05b235c38b
commit
37342c0685
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user