internal/router: fix wrong platform check in PreStart

The NTP workaround is intended to be run on Merlin only.
This commit is contained in:
Cuong Manh Le
2023-05-18 21:11:20 +07:00
committed by Cuong Manh Le
parent 15d397d8a6
commit 7ac5555a84

View File

@@ -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
}