summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer.ericson@gmail.com>2009-12-26 22:36:10 +0100
committerKristoffer Ericson <kristoffer.ericson@gmail.com>2009-12-26 22:36:10 +0100
commite61ee97dd7d5610192d740cb137f9f7c30a8b406 (patch)
treebfa14d37f0c3c4f20f534ba4409221652b64fc82
parentf2ac37555687041724aa352c250715f1b8dbff4f (diff)
Initscripts. Fix devices script for machine jornada6xx
Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com> Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
-rwxr-xr-x[-rw-r--r--]recipes/initscripts/initscripts-1.0/jornada6xx/devices20
1 files changed, 11 insertions, 9 deletions
diff --git a/recipes/initscripts/initscripts-1.0/jornada6xx/devices b/recipes/initscripts/initscripts-1.0/jornada6xx/devices
index 5ca2a1ccef..b9e4628a3d 100644..100755
--- a/recipes/initscripts/initscripts-1.0/jornada6xx/devices
+++ b/recipes/initscripts/initscripts-1.0/jornada6xx/devices
@@ -6,7 +6,7 @@
. /etc/default/rcS
# exit without doing anything if udev is active
-if test -e /dev/.udevdb; then
+if test -e /dev/.udev -o -e /dev/.udevdb; then
exit 0
fi
@@ -32,7 +32,6 @@ then
## need this so that ppp will autoload the ppp modules
mknod /dev/ppp c 108 0
-
if test "$VERBOSE" != "no"; then echo "done"; fi
else
if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
@@ -44,17 +43,20 @@ else
fi
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
cd /
- mkdir -p dev/input
- mknod /dev/input/ts0 c 13 128
- mknod /dev/ttySC0 c 8 204
- mknod /dev/ttySC1 c 9 204
- mknod /dev/ttySC2 c 10 204
+
+ mknod /dev/ttySC0 c 204 8
+ mknod /dev/ttySC1 c 204 9
+ mknod /dev/ttySC2 c 204 10
- mknod /dev/irda0 c 10 204
-
+ mknod /dev/irda0 c 204 10
+
+ mknod /dev/rtc c 254 0
+
+ mkdir -p dev/input
mkdir -p dev/msys
mkdir -p dev/pts
mkdir -p dev/vc
+ mkdir -p dev/snd
for i in 0 1 2 3 4 5 6 7 8 9; do
ln -s /dev/tty$i /dev/vc/$i
done