From 1cf731b1e3bb125449c2ef4e1194b6bf69e7b667 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 2 Sep 2007 14:00:52 +0000 Subject: initscripts: Sync with OE, primarily for better /etc/timestamp handling git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2650 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/initscripts/initscripts-1.0/save-rtc.sh | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'meta/packages/initscripts/initscripts-1.0/save-rtc.sh') diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh index d06aa6d56..e78607305 100644 --- a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh +++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh @@ -1,16 +1,5 @@ #! /bin/sh -# -# Copyright Matthias Hentges (c) 2006 -# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) -# -# Filename: save-rtc.sh -# Date: 03-Jul-06 +/etc/init.d/hwclock.sh stop - -# Update the timestamp, if there is already one -if test -e /etc/timestamp -then - echo "Will restore RCT from /etc/timestamp on next boot" - echo "Delete that file to disable this feature." - date +%2m%2d%2H%2M%Y > /etc/timestamp -fi +# Update the timestamp +date +%2m%2d%2H%2M%Y > /etc/timestamp -- cgit v1.2.3