Skip to content
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

Update NTP servers variable if chronyc returns success #4080

Merged
merged 2 commits into from
Jul 11, 2024

Commits on Jul 11, 2024

  1. pillar/device-steps.sh: update NTP servers in case of success only

    `NTPSERVERS` variable should be updated only if `chronyc` returns
    success. This behavior gurantees, that in case of failure NTP servers
    update will be repeated shortly and we won't stay with blank NTP
    servers list.
    
    Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
    Reported-by: Renê de Souza Pinto <rene@renesp.com.br>
    rouming committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3e13ab0 View commit details
    Browse the repository at this point in the history
  2. pillar/device-steps.sh: reduce NTP servers update delay from 5min to …

    …30sec
    
    There is no good reason to delay NTP server update to 5
    minutes, let's make cycles shorter and set 30 seconds.
    
    Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
    rouming committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    da9be14 View commit details
    Browse the repository at this point in the history