1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-12 04:40:24 +00:00

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
This commit is contained in:
Richard Purdie
2007-09-02 14:00:52 +00:00
parent 3cb6c768ef
commit 1cf731b1e3
13 changed files with 539 additions and 126 deletions
+3 -14
View File
@@ -1,16 +1,5 @@
#! /bin/sh
#
# Copyright Matthias Hentges <devel@hentges.net> (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