Enable diagnostics on compute/network nodes.

This commit is contained in:
Sean Bowe 2016-09-25 17:30:59 -06:00
parent 8e5bccaf91
commit d2187331a6
No known key found for this signature in database
GPG Key ID: 95684257D8F8B031
2 changed files with 9 additions and 4 deletions

View File

@ -26,10 +26,10 @@ pub const THREADS: usize = 8;
pub const DIRECTORY_PREFIX: &'static str = "/home/sean/mpc_trialrun/compute/"; pub const DIRECTORY_PREFIX: &'static str = "/home/sean/mpc_trialrun/compute/";
fn main() { fn main() {
//prompt("Press [ENTER] when you're ready to perform diagnostics of the DVD drive."); prompt("Press [ENTER] when you're ready to perform diagnostics of the DVD drive.");
//disable_modloop_unmount(); disable_modloop_unmount();
//perform_diagnostics(); perform_diagnostics();
//prompt("Diagnostics complete. Press [ENTER] when you're ready to begin the ceremony."); prompt("Diagnostics complete. Press [ENTER] when you're ready to begin the ceremony.");
println!("Constructing personal keypair..."); println!("Constructing personal keypair...");
let (privkey, pubkey, comm) = { let (privkey, pubkey, comm) = {

View File

@ -103,6 +103,11 @@ impl ConnectionHandler {
} }
fn main() { fn main() {
prompt("Press [ENTER] when you're ready to perform diagnostics of the DVD drive.");
disable_modloop_unmount();
perform_diagnostics();
prompt("Diagnostics complete. Press [ENTER] when you're ready to begin the ceremony.");
let comm; let comm;
{ {
let mut entered_wrong = false; let mut entered_wrong = false;