-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move ntpdate-sync from if-up.d to init.d script and refactor ntpdate-sync. #917
Conversation
Refactor ntpdate-sync.
NOTE: This PR will require someone to "also update the submodule"! |
While this is an all encompassing solution, the current requirements just need the ntpdate-sync linked to /etc/rc3.d as before and as there is only call without the locking. |
No. |
Why would it run twice at the same time? |
I haven't the time to mess around and I want the ntpdate-sync script updated, so will commit and look to simplify later. |
It did in the past, which is why the lock was put in.
I reckon it's as simple as it can be whilst being "correct". |
What i don't understand is the fact, why is the "ntpdate-sync" still in the system? In former times, the binary file has been stored as /usr/bin/ntpdate-sync. It was triggered by a symlink in \etc\network\if-up.d\ named ntpdate-sync, pointing to the binary /usr/bin/ntpdate-sync. |
When it was a symlink from
Which doesn't allow you to configure your own NTP servers.
But it is not. It is one script (and hence one place) that encapsulates how the system should synchronize time using NTP. So if that ever needs to change there is only one place that needs to be changed. The Vix |
Of course, "ntpdate-sync" is a script (and therefore also a binary, even if not compiled). The default datas for it could be found in /etc/default/ntpdate (now also obsolete). |
No, it's a script. The binary is /bin/sh.
We cannot know what anyone will do in the future. |
@Papi200-new |
No description provided.