From 44029ab72eb3db14347b75a1dbd4f5adf4eb08f7 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 13 Oct 2010 18:11:56 -0700 Subject: Revise new ntp server config Putting it in 'system { ntp { server...' makes more sense. --- scripts/system/vyatta_update_ntp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/system') 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/ } ; my $cfg = new Vyatta::Config; -$cfg->setLevel("service ntp"); +$cfg->setLevel("system ntp"); foreach my $server ($cfg->listNodes("server")) { print "server $server iburst"; -- cgit v1.2.3