diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2009-06-17 15:54:59 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2009-07-17 14:56:04 -0700 |
commit | b9c4028829be7cee545e1eb4321d74846904d558 (patch) | |
tree | 061df15f4a7e4ca7844912e0a4eab4cf31203ae8 /templates/interfaces | |
parent | 5ec82316b089d0be4f544937fbd3ed5d3333c829 (diff) | |
download | vyatta-cfg-quagga-b9c4028829be7cee545e1eb4321d74846904d558.tar.gz vyatta-cfg-quagga-b9c4028829be7cee545e1eb4321d74846904d558.zip |
Bugfix 4592: Generate NTP config file from Vyatta configuration parameters.
This fix changes the way that the /etc/ntp.conf file is generated. Now
it is generated at boot time using a fixed section that contains
only parameters that users don't change, plus a section that is generated
from any "system ntp-servers" parameters that are configured. The fixed
section does not contain any "server" definitions, so all server definitions
come from the Vyatta config.
The Vyatta configuration template for this parameter and code
at other places in the system will now start the NTP server ONLY if
there is at least one NTP server configured. So the user can "turn off"
the NTP server by just deleting all NTP servers from the configuration.
The default "config.boot" file does contiain one built-in "system ntp-servers"
parameter, so a newly installed system will start the NTP server.
(cherry picked from commit 08d0d9ed2d8824a446bfe6a1ba660db854f1a8f5)
Diffstat (limited to 'templates/interfaces')
0 files changed, 0 insertions, 0 deletions