mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
misc fixes
This commit is contained in:
committed by
Aiden McClelland
parent
73d7d3f855
commit
ccf505d0d3
@@ -48,6 +48,13 @@ async fn init(cfg_path: Option<&str>) -> Result<(), Error> {
|
||||
false,
|
||||
)
|
||||
.await?;
|
||||
// cp -r "/var/lib/docker", "/tmp/docker-data"
|
||||
embassy::disk::util::bind(
|
||||
"/tmp/docker-data",
|
||||
"/var/lib/journal",
|
||||
false,
|
||||
)
|
||||
.await?;
|
||||
embassy::ssh::sync_keys_from_db(todo!(), "/root/.ssh/authorized_keys").await?;
|
||||
todo!("sync wifi");
|
||||
embassy::hostname::sync_hostname().await?;
|
||||
@@ -92,8 +99,6 @@ async fn inner_main(cfg_path: Option<&str>) -> Result<(), Error> {
|
||||
})
|
||||
.await
|
||||
.with_kind(embassy::ErrorKind::Network)?;
|
||||
} else {
|
||||
embassy::sound::MARIO_COIN.play().await?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user