Add subsystems and clean up module dependencies
This commit is contained in:
17
process/module.go
Normal file
17
process/module.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package process
|
||||
|
||||
import (
|
||||
"github.com/safing/portbase/modules"
|
||||
)
|
||||
|
||||
var (
|
||||
module *modules.Module
|
||||
)
|
||||
|
||||
func init() {
|
||||
module = modules.Register("processes", prep, nil, nil, "profiles")
|
||||
}
|
||||
|
||||
func prep() error {
|
||||
return registerConfiguration()
|
||||
}
|
||||
Reference in New Issue
Block a user