summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-13 18:11:56 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-13 18:11:56 -0700
commit44029ab72eb3db14347b75a1dbd4f5adf4eb08f7 (patch)
treeccdbd262b7f168d4a26223bdc231a4b93d59ec6c /scripts/system
parentc626cd67f6ad7aba71ac78108b64f309f32b295f (diff)
downloadvyatta-cfg-system-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.tar.gz
vyatta-cfg-system-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.zip
Revise new ntp server config
Putting it in 'system { ntp { server...' makes more sense.
Diffstat (limited to 'scripts/system')
-rw-r--r--scripts/system/vyatta_update_ntp.pl2
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";