summaryrefslogtreecommitdiff
path: root/templates/system/ntp/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/ntp/node.def')
-rw-r--r--templates/system/ntp/node.def16
1 files changed, 0 insertions, 16 deletions
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