summaryrefslogtreecommitdiff
path: root/templates/assign/date/ntp
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-10-03 10:31:37 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-10-03 10:31:37 -0700
commit613ffa56d28ba653c9d7917f6e9f1f2bd108ac97 (patch)
treec73879d3cec5a8c42f20bd6447ce497a40aa666c /templates/assign/date/ntp
parenta08c2e160af0c02e8a2ca45132ffddb7ca168d8e (diff)
downloadvyatta-op-613ffa56d28ba653c9d7917f6e9f1f2bd108ac97.tar.gz
vyatta-op-613ffa56d28ba653c9d7917f6e9f1f2bd108ac97.zip
use the command verb "set" instead of "assign" with pass-through
of wild-card options to bash builtin
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}