Fix reboot issue when formatting external drive

This commit is contained in:
Taylor Helsper 2022-03-16 00:22:10 -05:00
parent b3fd09feed
commit c89eab3d36
2 changed files with 5 additions and 1 deletions

View File

@ -610,6 +610,10 @@ def format_external_drive_page():
touch("/home/bitcoin/.mynode/force_format_prompt")
# Trigger reboot
t = Timer(1.0, reboot_device)
t.start()
templateData = {
"title": "myNode",
"header_text": "Rebooting",

View File

@ -223,7 +223,7 @@
}
},
open: function() {
$("#password_factory_reset").val("")
$("#password_format_external_drive").val("")
}
});
$("#format-external-drive").on("click", function() {