summaryrefslogtreecommitdiff
path: root/templates/assign/date/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/assign/date/ntp')
-rw-r--r--templates/assign/date/ntp/node.def2
-rw-r--r--templates/assign/date/ntp/node.tag/node.def3
2 files changed, 0 insertions, 5 deletions
diff --git a/templates/assign/date/ntp/node.def b/templates/assign/date/ntp/node.def
deleted file mode 100644
index 2ce1577..0000000
--- a/templates/assign/date/ntp/node.def
+++ /dev/null
@@ -1,2 +0,0 @@
-help: "Set system date and time by NTP server [default: ntp.vyatta.com]"
-run: sudo ntpdate ntp.vyatta.com
diff --git a/templates/assign/date/ntp/node.tag/node.def b/templates/assign/date/ntp/node.tag/node.def
deleted file mode 100644
index 781bfbd..0000000
--- a/templates/assign/date/ntp/node.tag/node.def
+++ /dev/null
@@ -1,3 +0,0 @@
-help: "Set system date and time with given NTP server"
-allowed: sed 's/#.*//; s/^[^ \t]*[ \t]//; /^$/d; $s/$/\n--/' ${HOSTFILE:-/dev/null}
-run: sudo ntpdate ${4:-ntp.vyatta.com}