mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Fix reboot issue when formatting external drive
This commit is contained in:
parent
b3fd09feed
commit
c89eab3d36
|
@ -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",
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
}
|
||||
},
|
||||
open: function() {
|
||||
$("#password_factory_reset").val("")
|
||||
$("#password_format_external_drive").val("")
|
||||
}
|
||||
});
|
||||
$("#format-external-drive").on("click", function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user