From 6b9e8d75d87b859a680f55c694354a24b132cde3 Mon Sep 17 00:00:00 2001 From: Runar Borge Date: Thu, 7 Jun 2018 23:27:09 +0200 Subject: T689: Convert show date to new syntax --- op-mode-definitions/show-date.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 op-mode-definitions/show-date.xml diff --git a/op-mode-definitions/show-date.xml b/op-mode-definitions/show-date.xml new file mode 100644 index 000000000..0edb4b1ff --- /dev/null +++ b/op-mode-definitions/show-date.xml @@ -0,0 +1,30 @@ + + + + + + + Show system time and date + + /bin/date + + + + Show system date and time as Coordinated Universal Time + + /bin/date -u + + + + Show UTC date in Maya calendar format + + ${vyatta_bindir}/maya-date.py $(date +%s) + + + + + + + + + -- cgit v1.2.3