Wait with first update cycle until online

This commit is contained in:
Daniel
2021-10-04 16:02:59 +02:00
parent 9daa76717f
commit 5d15ec8cc7
7 changed files with 28 additions and 26 deletions

View File

@@ -27,7 +27,7 @@ func start() error {
triggerAutopilot()
err := module.RegisterEventHook(
"netenv",
netenv.ModuleName,
netenv.OnlineStatusChangedEvent,
"update online status in system status",
func(_ context.Context, _ interface{}) error {