summaryrefslogtreecommitdiff
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
parentc626cd67f6ad7aba71ac78108b64f309f32b295f (diff)
downloadvyatta-cfg-quagga-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.tar.gz
vyatta-cfg-quagga-44029ab72eb3db14347b75a1dbd4f5adf4eb08f7.zip
Revise new ntp server config
Putting it in 'system { ntp { server...' makes more sense.
-rw-r--r--scripts/system/vyatta_update_ntp.pl2
-rw-r--r--templates/system/ntp/node.def (renamed from templates/service/ntp/node.def)0
-rw-r--r--templates/system/ntp/server/node.def (renamed from templates/service/ntp/server/node.def)0
-rw-r--r--templates/system/ntp/server/node.tag/dynamic/node.def (renamed from templates/service/ntp/server/node.tag/dynamic/node.def)0
-rw-r--r--templates/system/ntp/server/node.tag/noselect/node.def (renamed from templates/service/ntp/server/node.tag/noselect/node.def)0
-rw-r--r--templates/system/ntp/server/node.tag/preempt/node.def (renamed from templates/service/ntp/server/node.tag/preempt/node.def)0
-rw-r--r--templates/system/ntp/server/node.tag/prefer/node.def (renamed from templates/service/ntp/server/node.tag/prefer/node.def)0
7 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";
diff --git a/templates/service/ntp/node.def b/templates/system/ntp/node.def
index c5d99724..c5d99724 100644
--- a/templates/service/ntp/node.def
+++ b/templates/system/ntp/node.def
diff --git a/templates/service/ntp/server/node.def b/templates/system/ntp/server/node.def
index 383bd992..383bd992 100644
--- a/templates/service/ntp/server/node.def
+++ b/templates/system/ntp/server/node.def
diff --git a/templates/service/ntp/server/node.tag/dynamic/node.def b/templates/system/ntp/server/node.tag/dynamic/node.def
index 0a7df0c0..0a7df0c0 100644
--- a/templates/service/ntp/server/node.tag/dynamic/node.def
+++ b/templates/system/ntp/server/node.tag/dynamic/node.def
diff --git a/templates/service/ntp/server/node.tag/noselect/node.def b/templates/system/ntp/server/node.tag/noselect/node.def
index e2e061b5..e2e061b5 100644
--- a/templates/service/ntp/server/node.tag/noselect/node.def
+++ b/templates/system/ntp/server/node.tag/noselect/node.def
diff --git a/templates/service/ntp/server/node.tag/preempt/node.def b/templates/system/ntp/server/node.tag/preempt/node.def
index ca89efa1..ca89efa1 100644
--- a/templates/service/ntp/server/node.tag/preempt/node.def
+++ b/templates/system/ntp/server/node.tag/preempt/node.def
diff --git a/templates/service/ntp/server/node.tag/prefer/node.def b/templates/system/ntp/server/node.tag/prefer/node.def
index 4855fd41..4855fd41 100644
--- a/templates/service/ntp/server/node.tag/prefer/node.def
+++ b/templates/system/ntp/server/node.tag/prefer/node.def