sonic-buildimage/files/image_config/ntp
kannankvs 4007d9ba9c [ntp]: modified ntp script to hide the error related to cfggen (#3745)
This PR is to handle the issue 3527.
When device boots up, NTP throws a traceback as explained in the issue 3527.

- Traceback will be seen when MGMT_VRF_CONFIG does not exist in the database. Traceback is coming from the script “/etc/init.d/ntp”.

- Traceback does not affect the NTP functionality with/without management VRF. When MGMT_VRF_CONFIG does not exist or when MGMT_VRF_CONFIG’s mgmtVrfEnabled is configured to “false”, “NTP” will be started in the “default VRF” context, which is working fine even with this traceback.

- This traceback error will be hidden by redirecting the error to /dev/null without affecting functionality.
2019-11-14 00:06:54 -08:00
..
ntp [ntp]: modified ntp script to hide the error related to cfggen (#3745) 2019-11-14 00:06:54 -08:00
ntp-config.service [boot] Refactor: All services which start Docker containers start before ntp-config service (#2335) 2018-12-03 16:01:44 -08:00
ntp-config.sh Restart ntp after ntp-config (#1106) 2017-11-07 14:51:07 -08:00
ntp.conf.j2 [ntp]: Use loopback address when we don't have MGMT interface (#3566) 2019-10-07 07:49:25 -07:00