diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-09-02 14:00:52 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-09-02 14:00:52 +0000 |
| commit | 1cf731b1e3bb125449c2ef4e1194b6bf69e7b667 (patch) | |
| tree | fc305d382d225d9a033fb1678bdc4720f38484e4 /meta/packages/initscripts/initscripts-1.0/save-rtc.sh | |
| parent | 3cb6c768efa690f25035351fb7975bca59f94ee2 (diff) | |
| download | poky-1cf731b1e3bb125449c2ef4e1194b6bf69e7b667.tar.gz | |
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
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/save-rtc.sh')
| -rw-r--r-- | meta/packages/initscripts/initscripts-1.0/save-rtc.sh | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh index d06aa6d569..e786073051 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 @@ | |||
| 1 | #! /bin/sh | 1 | #! /bin/sh |
| 2 | # | 2 | /etc/init.d/hwclock.sh stop |
| 3 | # Copyright Matthias Hentges <devel@hentges.net> (c) 2006 | ||
| 4 | # License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license) | ||
| 5 | # | ||
| 6 | # Filename: save-rtc.sh | ||
| 7 | # Date: 03-Jul-06 | ||
| 8 | 3 | ||
| 9 | 4 | # Update the timestamp | |
| 10 | # Update the timestamp, if there is already one | 5 | date +%2m%2d%2H%2M%Y > /etc/timestamp |
| 11 | if test -e /etc/timestamp | ||
| 12 | then | ||
| 13 | echo "Will restore RCT from /etc/timestamp on next boot" | ||
| 14 | echo "Delete that file to disable this feature." | ||
| 15 | date +%2m%2d%2H%2M%Y > /etc/timestamp | ||
| 16 | fi | ||
