From e61ee97dd7d5610192d740cb137f9f7c30a8b406 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Sat, 26 Dec 2009 22:36:10 +0100 Subject: Initscripts. Fix devices script for machine jornada6xx Signed-off-by: Alex Ferguson Signed-off-by: Kristoffer Ericson --- .../initscripts/initscripts-1.0/jornada6xx/devices | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) mode change 100644 => 100755 recipes/initscripts/initscripts-1.0/jornada6xx/devices diff --git a/recipes/initscripts/initscripts-1.0/jornada6xx/devices b/recipes/initscripts/initscripts-1.0/jornada6xx/devices old mode 100644 new mode 100755 index 5ca2a1ccef..b9e4628a3d --- 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 -- cgit v1.2.3