From 9f5c33ea3fb6101c7ce49abe3762d4d497c37ce9 Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Mon, 7 May 2018 22:41:31 +0200
Subject: T623: Rewrite NTP subsystem in new XML style interface definition

---
 templates/system/ntp/node.def | 16 ----------------
 1 file changed, 16 deletions(-)
 delete mode 100644 templates/system/ntp/node.def

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

diff --git a/templates/system/ntp/node.def b/templates/system/ntp/node.def
deleted file mode 100644
index 38e67e05..00000000
--- a/templates/system/ntp/node.def
+++ /dev/null
@@ -1,16 +0,0 @@
-priority: 400
-help: Network Time Protocol (NTP) configuration
-
-end: 
-     sudo /opt/vyatta/sbin/vyatta_update_ntp.pl
-     if grep -q '^server' /etc/ntp.conf
-     then 
-	 if pgrep -f -u ntp /usr/sbin/ntpd > /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
-- 
cgit v1.2.3

