From e38a607f952a255a1f3b2e42f722b6ceabeb5396 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 21 Nov 2006 12:19:17 +0000 Subject: 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 --- .../initscripts/initscripts-1.0/device_table.txt | 18 ++++++++++++++++++ meta/packages/initscripts/initscripts-1.0/save-rtc.sh | 16 ++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 meta/packages/initscripts/initscripts-1.0/save-rtc.sh (limited to 'meta/packages/initscripts/initscripts-1.0') diff --git a/meta/packages/initscripts/initscripts-1.0/device_table.txt b/meta/packages/initscripts/initscripts-1.0/device_table.txt index 35560b4025..a302c5aca3 100644 --- a/meta/packages/initscripts/initscripts-1.0/device_table.txt +++ b/meta/packages/initscripts/initscripts-1.0/device_table.txt @@ -160,6 +160,24 @@ /dev/smtpe2 c 640 0 0 35 130 - - - /dev/smtpe3 c 640 0 0 35 131 - - - /dev/sndstat c 660 0 29 14 6 - - - +/dev/snd/seq c 660 0 0 116 1 - - - +/dev/snd/timer c 660 0 0 116 33 - - - +/dev/snd/controlC0 c 660 0 0 116 0 - - - +/dev/snd/controlC1 c 660 0 0 116 32 - - - +/dev/snd/controlC2 c 660 0 0 116 64 - - - +/dev/snd/controlC3 c 660 0 0 116 96 - - - +/dev/snd/hwC0D0 c 660 0 0 116 4 - - - +/dev/snd/hwC0D1 c 660 0 0 116 5 - - - +/dev/snd/hwC0D2 c 660 0 0 116 6 - - - +/dev/snd/hwC0D3 c 660 0 0 116 7 - - - +/dev/snd/pcmC0D0c c 660 0 0 116 24 - - - +/dev/snd/pcmC0D0p c 660 0 0 116 16 - - - +/dev/snd/pcmC0D1c c 660 0 0 116 25 - - - +/dev/snd/pcmC0D1p c 660 0 0 116 17 - - - +/dev/snd/pcmC0D2c c 660 0 0 116 26 - - - +/dev/snd/pcmC0D2p c 660 0 0 116 18 - - - +/dev/snd/pcmC0D3c c 660 0 0 116 27 - - - +/dev/snd/pcmC0D3p c 660 0 0 116 19 - - - /dev/st0 c 660 0 11 9 0 - - - /dev/st0a c 660 0 11 9 96 - - - /dev/st0l c 660 0 11 9 32 - - - 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 @@ +#! /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 + + +# 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 -- cgit v1.2.3