chore: cleanup ntp code

This commit is contained in:
wwqgtxx
2025-09-13 10:30:14 +08:00
parent dd7b3c28ad
commit ad69ee84a9
2 changed files with 46 additions and 49 deletions

View File

@@ -231,6 +231,8 @@ func updateNTP(c *config.NTP) {
c.DialerProxy,
c.WriteToSystem,
)
} else {
ntp.ReCreateNTPService("", 0, "", false)
}
}