summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/initscripts/initscripts-1.0/akita/devices
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /openembedded/packages/initscripts/initscripts-1.0/akita/devices
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/akita/devices')
-rwxr-xr-xopenembedded/packages/initscripts/initscripts-1.0/akita/devices68
1 files changed, 0 insertions, 68 deletions
diff --git a/openembedded/packages/initscripts/initscripts-1.0/akita/devices b/openembedded/packages/initscripts/initscripts-1.0/akita/devices
deleted file mode 100755
index 083090ecb9..0000000000
--- a/openembedded/packages/initscripts/initscripts-1.0/akita/devices
+++ /dev/null
@@ -1,68 +0,0 @@
1#!/bin/sh
2#
3# Devfs handling script. Since we arent running devfsd due to various reasons
4# which I will not lay out here, we need to create some links for compatibility.
5
6. /etc/default/rcS
7
8# exit without doing anything if udev is active
9if test -e /dev/.udevdb; then
10 exit 0
11fi
12
13if test -e /dev/.devfsd
14then
15 if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
16 ln -s /dev/touchscreen/0 /dev/ts
17 ln -s /dev/touchscreen/0raw /dev/tsraw
18 ln -s /dev/vc/0 /dev/tty0
19 ln -s /dev/vc/1 /dev/tty1
20 ln -s /dev/vc/2 /dev/tty2
21 ln -s /dev/vc/3 /dev/tty3
22 ln -s /dev/vc/4 /dev/tty4
23 ln -s /dev/vc/5 /dev/tty5
24 ln -s /dev/fb/0 /dev/fb0
25# ln -s /dev/tts/0 /dev/ttySA0
26# ln -s /dev/tts/1 /dev/ttySA1
27# ln -s /dev/tts/2 /dev/ttySA2
28
29 ln -s /dev/sound/dsp /dev/dsp
30 ln -s /dev/sound/mixer /dev/mixer
31
32 ln -s /dev/v4l/video0 /dev/video0
33 ln -s /dev/v4l/video0 /dev/video
34 ln -s /dev/misc/rtc /dev/rtc
35
36 ## need this so that ppp will autoload the ppp modules
37 mknod /dev/ppp c 108 0
38 if test "$VERBOSE" != "no"; then echo "done"; fi
39else
40 if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
41 mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
42 if test $? -ne 0; then
43 if test "$VERBOSE" != "no"; then echo "failed"; fi
44 else
45 if test "$VERBOSE" != "no"; then echo "done"; fi
46 fi
47 if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
48 cd /
49 mkdir -p dev/msys
50 mkdir -p dev/pts
51 mkdir -p dev/input
52 mkdir -p dev/vc
53 for i in 0 1 2 3 4 5 6 7 8 9; do
54 ln -s /dev/tty$i /dev/vc/$i
55 done
56 ln -sf /dev/sharp_ts /dev/ts
57 ln -sf /dev/sharp_fl /dev/fl
58 ln -sf /proc/self/fd /dev/fd
59 ln -sf /proc/kcore /dev/core
60 /sbin/makedevs -r / -D /etc/device_table
61 if test $? -ne 0; then
62 if test "$VERBOSE" != "no"; then echo "failed"; fi
63 else
64 if test "$VERBOSE" != "no"; then echo "done"; fi
65 fi
66fi
67
68exit 0