mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-08-10 13:20:33 +02: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:
@@ -95,7 +95,7 @@ func ConfigureService(sc *service.Config) error {
|
|||||||
|
|
||||||
// PreStart blocks until the router is ready for running ctrld.
|
// PreStart blocks until the router is ready for running ctrld.
|
||||||
func PreStart() (err error) {
|
func PreStart() (err error) {
|
||||||
if Name() != DDWrt {
|
if Name() != Merlin {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user