Do not throw pcid into background - this prevents ethernetd from exiting if it tries to open network: too early
This commit is contained in:
parent
790c32b0bc
commit
df2327b175
|
@ -8,7 +8,6 @@ use std::env;
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
use std::process::Command;
|
use std::process::Command;
|
||||||
use std::thread;
|
|
||||||
use syscall::iopl;
|
use syscall::iopl;
|
||||||
|
|
||||||
use config::Config;
|
use config::Config;
|
||||||
|
@ -18,7 +17,6 @@ mod config;
|
||||||
mod pci;
|
mod pci;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
thread::spawn(|| {
|
|
||||||
let mut config = Config::default();
|
let mut config = Config::default();
|
||||||
|
|
||||||
let mut args = env::args().skip(1);
|
let mut args = env::args().skip(1);
|
||||||
|
@ -150,5 +148,4 @@ fn main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue