diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-21 12:19:17 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 12:19:17 +0000 |
commit | e38a607f952a255a1f3b2e42f722b6ceabeb5396 (patch) | |
tree | e827ef6d051ac0025dc46c6de52a6d82566cbc5d /meta/packages/initscripts/initscripts-1.0/save-rtc.sh | |
parent | ad790e96c6264a8a2007855fdab5f16aa37745fa (diff) | |
download | poky-e38a607f952a255a1f3b2e42f722b6ceabeb5396.tar.gz |
initscripts: Add save-rtc script and ALSA manual devices table from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@921 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 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/save-rtc.sh b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh new file mode 100644 index 0000000000..d06aa6d569 --- /dev/null +++ b/meta/packages/initscripts/initscripts-1.0/save-rtc.sh | |||
@@ -0,0 +1,16 @@ | |||
1 | #! /bin/sh | ||
2 | # | ||
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 | |||
9 | |||
10 | # Update the timestamp, if there is already one | ||
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 | ||