mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Remove obsolete devMode option instance
This commit is contained in:
parent
b716f56eaf
commit
7e21e7c7d7
2 changed files with 2 additions and 6 deletions
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
// Configuration Keys.
|
// Configuration Keys.
|
||||||
var (
|
var (
|
||||||
// CfgDevModeKey is originally defined in portbase/config.
|
// CfgDevModeKey was previously defined here.
|
||||||
CfgDevModeKey = config.CfgDevModeKey
|
CfgDevModeKey = config.CfgDevModeKey
|
||||||
|
|
||||||
CfgNetworkServiceKey = "core/networkService"
|
CfgNetworkServiceKey = "core/networkService"
|
||||||
|
|
|
@ -5,8 +5,6 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/safing/portbase/config"
|
|
||||||
|
|
||||||
"github.com/safing/portbase/modules"
|
"github.com/safing/portbase/modules"
|
||||||
"github.com/safing/portbase/modules/subsystems"
|
"github.com/safing/portbase/modules/subsystems"
|
||||||
"github.com/tevino/abool"
|
"github.com/tevino/abool"
|
||||||
|
@ -26,9 +24,7 @@ const (
|
||||||
var (
|
var (
|
||||||
module *modules.Module
|
module *modules.Module
|
||||||
|
|
||||||
restarting = abool.New()
|
restarting = abool.New()
|
||||||
devMode = config.Concurrent.GetAsBool(config.CfgDevModeKey, false)
|
|
||||||
|
|
||||||
disableShutdownEvent bool
|
disableShutdownEvent bool
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue