summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/save-rtc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/save-rtc.sh')
-rw-r--r--packages/initscripts/initscripts-1.0/save-rtc.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/save-rtc.sh b/packages/initscripts/initscripts-1.0/save-rtc.sh
index de7c2b7646..e786073051 100644
--- a/packages/initscripts/initscripts-1.0/save-rtc.sh
+++ b/packages/initscripts/initscripts-1.0/save-rtc.sh
@@ -1,3 +1,5 @@
#! /bin/sh
-#FIXME readd timestamp handling for systems where RTC doesn't survive a reboot
-/etc/init.d/hwclock stop
+/etc/init.d/hwclock.sh stop
+
+# Update the timestamp
+date +%2m%2d%2H%2M%Y > /etc/timestamp