init: reiniciar después de correr init

This commit is contained in:
Cat /dev/Nulo 2023-06-23 17:40:44 -03:00
parent a46cc0d308
commit ec3a75acca

View file

@ -48,5 +48,8 @@ fn main() -> Result<(), io::Error> {
if !status.success() {
println!("{}", status);
}
nix::sys::reboot::reboot(nix::sys::reboot::RebootMode::RB_AUTOBOOT)
.map(|_| {})
.unwrap();
Ok(())
}