From 44029ab72eb3db14347b75a1dbd4f5adf4eb08f7 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Wed, 13 Oct 2010 18:11:56 -0700
Subject: Revise new ntp server config

Putting it in 'system { ntp { server...' makes more sense.
---
 templates/service/ntp/node.def | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 templates/service/ntp/node.def

(limited to 'templates/service/ntp/node.def')

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
-- 
cgit v1.2.3

