()
| 40 | } |
| 41 | |
| 42 | func newInitConfig() *InitConfig { |
| 43 | return &InitConfig{ |
| 44 | InitCheck: RequireDevices, |
| 45 | hierarchy: Default, |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | // InitCheck allows subsystems errors to be checked when initialized or loaded |
| 50 | type InitCheck func(Subsystem, Path, error) error |