mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: fixed reboot procedure (fixes #313)
This commit is contained in:
@ -65,3 +65,9 @@ def shutdown():
|
||||
time.sleep(5)
|
||||
os.system("sync")
|
||||
os.system("halt")
|
||||
|
||||
|
||||
def reboot():
|
||||
logging.warning("rebooting ...")
|
||||
os.system("sync")
|
||||
os.system("shutdown -r now")
|
||||
|
Reference in New Issue
Block a user