Prevent pi reboot due to timing issue after applying admin panel changes. Closes #8
This commit is contained in:
parent
4c25aeabf9
commit
e83914a661
1 changed files with 2 additions and 1 deletions
|
|
@ -216,6 +216,7 @@ def check_settings(raspap_installed: bool):
|
|||
needs_restart = set_root_password(load_setting('root_password')) or needs_restart
|
||||
if needs_restart:
|
||||
print("I am restarting here")
|
||||
time.sleep(60)
|
||||
run(["sudo", "reboot"])
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue