diff --git a/pwnagotchi/__init__.py b/pwnagotchi/__init__.py index b2dc167fb..ea7fe3849 100644 --- a/pwnagotchi/__init__.py +++ b/pwnagotchi/__init__.py @@ -136,6 +136,7 @@ def restart(mode): os.system("touch /root/.pwnagotchi-manual") os.system("service bettercap restart") + time.sleep(2) os.system("service pwnagotchi restart") diff --git a/pwnagotchi/ui/hw/waveshare2in7.py b/pwnagotchi/ui/hw/waveshare2in7.py index 5767bd876..0c2e98f65 100644 --- a/pwnagotchi/ui/hw/waveshare2in7.py +++ b/pwnagotchi/ui/hw/waveshare2in7.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V1 2.7 inch display") + logging.info("initializing waveshare V1 2.7 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in7.epd2in7 import EPD self._display = EPD() self._display.init() diff --git a/pwnagotchi/ui/hw/waveshare2in7_V2.py b/pwnagotchi/ui/hw/waveshare2in7_V2.py index 539cf16bd..472907f33 100644 --- a/pwnagotchi/ui/hw/waveshare2in7_V2.py +++ b/pwnagotchi/ui/hw/waveshare2in7_V2.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V2 2.7 inch display") + logging.info("initializing waveshare V2 2.7 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in7_v2.epd2in7_V2 import EPD self._display = EPD() self._display.init() diff --git a/pwnagotchi/ui/hw/waveshare2in7b.py b/pwnagotchi/ui/hw/waveshare2in7b.py index 7bfd5f9dd..db4e7ccab 100644 --- a/pwnagotchi/ui/hw/waveshare2in7b.py +++ b/pwnagotchi/ui/hw/waveshare2in7b.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V1 2.7 inch display") + logging.info("initializing waveshare V1 2.7b inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in7b.epd2in7b import EPD self._display = EPD() self._display.init() diff --git a/pwnagotchi/ui/hw/waveshare2in9.py b/pwnagotchi/ui/hw/waveshare2in9.py index e5b246090..c86de3600 100644 --- a/pwnagotchi/ui/hw/waveshare2in9.py +++ b/pwnagotchi/ui/hw/waveshare2in9.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V1 2.9 inch display") + logging.info("initializing waveshare V1 2.9 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in9.epd2in9 import EPD self._display = EPD() self._display.init(self._display.lut_full_update) diff --git a/pwnagotchi/ui/hw/waveshare2in9_V2.py b/pwnagotchi/ui/hw/waveshare2in9_V2.py index 6d28e9db3..cf2697f7c 100644 --- a/pwnagotchi/ui/hw/waveshare2in9_V2.py +++ b/pwnagotchi/ui/hw/waveshare2in9_V2.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V2 2.9 inch display") + logging.info("initializing waveshare V2 2.9 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in9_v2.epd2in9V2 import EPD self._display = EPD() self._display.init() diff --git a/pwnagotchi/ui/hw/waveshare2in9b_V3.py b/pwnagotchi/ui/hw/waveshare2in9b_V3.py index e5deef578..f5f28b4a0 100644 --- a/pwnagotchi/ui/hw/waveshare2in9b_V3.py +++ b/pwnagotchi/ui/hw/waveshare2in9b_V3.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V3 2.9 inch display") + logging.info("initializing waveshare V3 2.9 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in9b_v3.epd2in9b_V3 import EPD self._display = EPD() self._display.init() diff --git a/pwnagotchi/ui/hw/waveshare2in9b_V4.py b/pwnagotchi/ui/hw/waveshare2in9b_V4.py index b49f0ecc2..f827ef6ca 100644 --- a/pwnagotchi/ui/hw/waveshare2in9b_V4.py +++ b/pwnagotchi/ui/hw/waveshare2in9b_V4.py @@ -32,7 +32,7 @@ def layout(self): return self._layout def initialize(self): - logging.info("initializing waveshare v2in13_V4 2.9 inch display") + logging.info("initializing waveshare V4 2.9 inch display") from pwnagotchi.ui.hw.libs.waveshare.v2in9b_v4.epd2in9b_V4 import EPD self._display = EPD() self._display.init()