summaryrefslogtreecommitdiff
path: root/templates/service
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 /templates/service
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.
Diffstat (limited to 'templates/service')
-rw-r--r--templates/service/ntp/node.def18
-rw-r--r--templates/service/ntp/server/node.def3
-rw-r--r--templates/service/ntp/server/node.tag/dynamic/node.def2
-rw-r--r--templates/service/ntp/server/node.tag/noselect/node.def1
-rw-r--r--templates/service/ntp/server/node.tag/preempt/node.def1
-rw-r--r--templates/service/ntp/server/node.tag/prefer/node.def1
6 files changed, 0 insertions, 26 deletions
diff --git a/templates/service/ntp/node.def b/templates/service/ntp/node.def
deleted file mode 100644
index c5d99724..00000000
--- a/templates/service/ntp/node.def
+++ /dev/null
@@ -1,18 +0,0 @@
-priority: 400
-help: Network Time Protocol (NTP) configuration
-
-end:
- /opt/vyatta/sbin/vyatta_update_ntp.pl </etc/ntp.conf >/tmp/ntp.conf
- sudo cp -b /tmp/ntp.conf /etc/ntp.conf
- if grep -q '^server' /etc/ntp.conf
- then
- if /usr/sbin/invoke-rc.d ntp status >/dev/null
- then
- sudo /usr/sbin/invoke-rc.d ntp force-reload
- else
- sudo /usr/sbin/invoke-rc.d ntp start
- fi
- else
- sudo /usr/sbin/invoke-rc.d ntp stop
- fi
- rm -f /tmp/ntp.conf
diff --git a/templates/service/ntp/server/node.def b/templates/service/ntp/server/node.def
deleted file mode 100644
index 383bd992..00000000
--- a/templates/service/ntp/server/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-tag:
-type: txt
-help: Network Time Protocol (NTP) server
diff --git a/templates/service/ntp/server/node.tag/dynamic/node.def b/templates/service/ntp/server/node.tag/dynamic/node.def
deleted file mode 100644
index 0a7df0c0..00000000
--- a/templates/service/ntp/server/node.tag/dynamic/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: Allow server to be configured eve if not reachable
-
diff --git a/templates/service/ntp/server/node.tag/noselect/node.def b/templates/service/ntp/server/node.tag/noselect/node.def
deleted file mode 100644
index e2e061b5..00000000
--- a/templates/service/ntp/server/node.tag/noselect/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Marks the server as unused
diff --git a/templates/service/ntp/server/node.tag/preempt/node.def b/templates/service/ntp/server/node.tag/preempt/node.def
deleted file mode 100644
index ca89efa1..00000000
--- a/templates/service/ntp/server/node.tag/preempt/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Specifies the association as preemptable rather than the default persistent
diff --git a/templates/service/ntp/server/node.tag/prefer/node.def b/templates/service/ntp/server/node.tag/prefer/node.def
deleted file mode 100644
index 4855fd41..00000000
--- a/templates/service/ntp/server/node.tag/prefer/node.def
+++ /dev/null
@@ -1 +0,0 @@
-help: Marks the server as preferred