attempt autodetection of NSM
This commit is contained in:
parent
b7316b5741
commit
449e934cf0
14
src/main.rs
14
src/main.rs
|
@ -36,25 +36,19 @@ fn init() -> Result<()> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
platform::aws::Aws.init().unwrap();
|
||||
|
||||
init_console()?;
|
||||
|
||||
system::dmesg("EnclaveOS Booted");
|
||||
|
||||
let config = config::get_config()?;
|
||||
dmesg(format!("{config:?}"));
|
||||
|
||||
std::thread::sleep(std::time::Duration::from_secs(500));
|
||||
|
||||
/*
|
||||
if let Some(platform) = config.platform.as_deref() {
|
||||
platform::init(platform)?;
|
||||
} else if let Some(platform) = platform::get_current_platform(None)?.as_deref() {
|
||||
platform::init(platform)?;
|
||||
}
|
||||
*/
|
||||
|
||||
system::dmesg("EnclaveOS Booted");
|
||||
|
||||
std::thread::sleep(std::time::Duration::from_secs(500));
|
||||
|
||||
/*
|
||||
let command = &config.target;
|
||||
|
|
Loading…
Reference in New Issue