Add D455 sensor host and shared Node/Core preparation surface
This commit is contained in:
@@ -74,6 +74,12 @@ func run() error {
|
||||
return err
|
||||
}
|
||||
app.Pairing = pairing
|
||||
nodeID, _ := store.Public()
|
||||
app.Sensors, err = node.OpenSensors(*dir, nodeID)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
pairing.Sensors = app.Sensors
|
||||
app.Access = &node.AccessStore{Path: filepath.Join(*dir, "ssh-keys.json"), Users: func() []string { return node.LocalAdmins("/") }}
|
||||
if err := os.MkdirAll(filepath.Dir(*socket), 0700); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user