From d2187331a60c80f8b9842e8d32a4a55e2e4d121d Mon Sep 17 00:00:00 2001 From: Sean Bowe Date: Sun, 25 Sep 2016 17:30:59 -0600 Subject: [PATCH] Enable diagnostics on compute/network nodes. --- src/compute.rs | 8 ++++---- src/network.rs | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/compute.rs b/src/compute.rs index 05dac26..503cd8d 100644 --- a/src/compute.rs +++ b/src/compute.rs @@ -26,10 +26,10 @@ pub const THREADS: usize = 8; pub const DIRECTORY_PREFIX: &'static str = "/home/sean/mpc_trialrun/compute/"; 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."); + 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."); println!("Constructing personal keypair..."); let (privkey, pubkey, comm) = { diff --git a/src/network.rs b/src/network.rs index 17b9abd..e1d6cf1 100644 --- a/src/network.rs +++ b/src/network.rs @@ -103,6 +103,11 @@ impl ConnectionHandler { } 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 mut entered_wrong = false;