From 37342c06858b31515709681df12a52a4192b75a2 Mon Sep 17 00:00:00 2001
From: grokbeer <1428380+grokbeer@users.noreply.github.com>
Date: Fri, 8 May 2020 21:58:26 +1200
Subject: [PATCH] Have watchdog plugin reboot system rather than restart
 application

Signed-off-by: grokbeer <1428380+grokbeer@users.noreply.github.com>
---
 pwnagotchi/plugins/default/watchdog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwnagotchi/plugins/default/watchdog.py b/pwnagotchi/plugins/default/watchdog.py
index 6a370eb..8ebb6b8 100644
--- a/pwnagotchi/plugins/default/watchdog.py
+++ b/pwnagotchi/plugins/default/watchdog.py
@@ -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)