summaryrefslogtreecommitdiff
path: root/recipes/shr/initscripts-shr/save-rtc.sh
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2009-09-17 18:01:23 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2009-09-17 18:38:25 +0000
commite8622747c60b148e94f095c4bb7fe40fc52bba0a (patch)
tree76274bb2dfc0fdc63e419144deccc3a85a087378 /recipes/shr/initscripts-shr/save-rtc.sh
parent80c55c2574e99f025d88608966b09fcc578ed4f5 (diff)
initscripts-shr: Add SHR initscripts (from SHR)
Diffstat (limited to 'recipes/shr/initscripts-shr/save-rtc.sh')
-rw-r--r--recipes/shr/initscripts-shr/save-rtc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/shr/initscripts-shr/save-rtc.sh b/recipes/shr/initscripts-shr/save-rtc.sh
new file mode 100644
index 0000000000..e786073051
--- /dev/null
+++ b/recipes/shr/initscripts-shr/save-rtc.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+/etc/init.d/hwclock.sh stop
+
+# Update the timestamp
+date +%2m%2d%2H%2M%Y > /etc/timestamp