mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
internal/router: fix wrong platform check in PreStart
The NTP workaround is intended to be run on Merlin only.
This commit is contained in:
committed by
Cuong Manh Le
parent
15d397d8a6
commit
7ac5555a84
@@ -95,7 +95,7 @@ func ConfigureService(sc *service.Config) error {
|
||||
|
||||
// PreStart blocks until the router is ready for running ctrld.
|
||||
func PreStart() (err error) {
|
||||
if Name() != DDWrt {
|
||||
if Name() != Merlin {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user