mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-27 06:54:00 +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")
|
touch("/home/bitcoin/.mynode/force_format_prompt")
|
||||||
|
|
||||||
|
# Trigger reboot
|
||||||
|
t = Timer(1.0, reboot_device)
|
||||||
|
t.start()
|
||||||
|
|
||||||
templateData = {
|
templateData = {
|
||||||
"title": "myNode",
|
"title": "myNode",
|
||||||
"header_text": "Rebooting",
|
"header_text": "Rebooting",
|
||||||
|
|
|
@ -223,7 +223,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
open: function() {
|
open: function() {
|
||||||
$("#password_factory_reset").val("")
|
$("#password_format_external_drive").val("")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$("#format-external-drive").on("click", function() {
|
$("#format-external-drive").on("click", function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user