mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-05 16:57:51 +08:00
fix duplicate constant
This commit is contained in:
@@ -10,7 +10,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const MAC_SERVICE_NAME = "com.gravitl.netclient"
|
const MAC_SERVICE_NAME = "com.gravitl.netclient"
|
||||||
const EXEC_DIR = "/sbin/"
|
|
||||||
|
|
||||||
// SetupMacDaemon - Creates a daemon service from the netclient under LaunchAgents for MacOS
|
// SetupMacDaemon - Creates a daemon service from the netclient under LaunchAgents for MacOS
|
||||||
func SetupMacDaemon(interval string) error {
|
func SetupMacDaemon(interval string) error {
|
||||||
|
@@ -10,7 +10,7 @@ import (
|
|||||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||||
)
|
)
|
||||||
|
|
||||||
const EXEC_DIR = "/usr/sbin/"
|
const EXEC_DIR = "/sbin/"
|
||||||
|
|
||||||
// SetupSystemDDaemon - sets system daemon for supported machines
|
// SetupSystemDDaemon - sets system daemon for supported machines
|
||||||
func SetupSystemDDaemon(interval string) error {
|
func SetupSystemDDaemon(interval string) error {
|
||||||
|
Reference in New Issue
Block a user