]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/initscripts/initscripts-1.0/simpad/devices
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / initscripts / initscripts-1.0 / simpad / devices
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 # exit without doing anything if udev is active
7 if test -e /dev/.udevdb; then
8     exit 0
9 fi
10
11     test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
12     (
13     ln -s /dev/vc/0 /dev/tty0
14     ln -s /dev/vc/1 /dev/tty1
15     ln -s /dev/vc/2 /dev/tty2
16     ln -s /dev/vc/3 /dev/tty3
17     ln -s /dev/vc/4 /dev/tty4
18     ln -s /dev/vc/5 /dev/tty5
19     ln -s /dev/fb/0 /dev/fb0
20     # ln -s /dev/tts/0 /dev/ttySA0
21     # ln -s /dev/tts/1 /dev/ttySA1
22     # ln -s /dev/tts/2 /dev/ttySA2
23
24     ln -s /dev/sound/dsp /dev/dsp
25     ln -s /dev/sound/mixer /dev/mixer
26
27     ln -s /dev/v4l/video0 /dev/video0
28     ln -s /dev/v4l/video0 /dev/video
29     ln -s /dev/misc/rtc /dev/rtc
30     ln -s /dev/misc/apm_bios /dev/apm_bios
31
32     ## need this so that ppp will autoload the ppp modules
33     mknod /dev/ppp c 108 0
34     )  > /dev/null 2>&1
35
36
37     test -n "$VERBOSE" && echo "done"