adds avahi base service to init function of mdns controller (#407)

* adds avahi base service to init function of mdns controller

* Apply suggestions from code review

* adds hostname set to startup sequence

* Apply suggestions from code review

Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Keagan McClelland
2021-08-19 11:42:17 -06:00
committed by GitHub
parent 09c85b79c3
commit 1ff0db0b84
6 changed files with 57 additions and 2 deletions

View File

@@ -4,6 +4,9 @@ async fn inner_main() -> Result<(), Error> {
// os sync
embassy::volume::disk::mount("/dev/sda", "/mnt/embassy-os-crypt").await?;
// hostname-set
embassy::hostname::sync_hostname().await?;
Ok(())
}