Discussion:
[PATCH] added localtime module
Darshaka Pathirana
2010-04-22 15:08:52 UTC
Permalink
---
quickconfig/007-localtime.sh | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 quickconfig/007-localtime.sh

diff --git a/quickconfig/007-localtime.sh b/quickconfig/007-localtime.sh
new file mode 100644
index 0000000..b3c0a2a
--- /dev/null
+++ b/quickconfig/007-localtime.sh
@@ -0,0 +1,12 @@
+# localtime module for grml-quickconfig
+LINE='print_line "Set system time to ${HIGHLIGHT}l${NORMAL}ocaltime (current localtime: $(date +%T))"'
+KEY=(l)
+FUNCTION='run hwclock -s --localtime'
+
+# always display entry
+display_entry() {
+ return 0
+}
+
+## END OF FILE #################################################################
+# vim:foldmethod=marker expandtab ai ft=zsh shiftwidth=3
--
1.6.3.3


--------------010806020208090606090909--
Loading...