diff options
Diffstat (limited to 'recipes/initscripts/initscripts-1.0')
-rwxr-xr-x[-rw-r--r--] | recipes/initscripts/initscripts-1.0/jornada6xx/devices | 20 |
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 |