diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-13 18:11:56 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-10-13 18:11:56 -0700 |
commit | 44029ab72eb3db14347b75a1dbd4f5adf4eb08f7 (patch) | |
tree | ccdbd262b7f168d4a26223bdc231a4b93d59ec6c /scripts | |
parent | c626cd67f6ad7aba71ac78108b64f309f32b295f (diff) | |
download | vyatta-cfg-quagga-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.tar.gz vyatta-cfg-quagga-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.zip |
Revise new ntp server config
Putting it in 'system { ntp { server...' makes more sense.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/system/vyatta_update_ntp.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_ntp.pl b/scripts/system/vyatta_update_ntp.pl index 50af76fe..3cb19804 100644 --- a/scripts/system/vyatta_update_ntp.pl +++ b/scripts/system/vyatta_update_ntp.pl @@ -28,7 +28,7 @@ die "$0 expects no arguments\n" if (@ARGV); print grep {! /^server/ } <STDIN>; my $cfg = new Vyatta::Config; -$cfg->setLevel("service ntp"); +$cfg->setLevel("system ntp"); foreach my $server ($cfg->listNodes("server")) { print "server $server iburst"; |