summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts/initscripts-1.0/h3900
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/h3900')
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/h3900/devices37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/h3900/devices b/meta/packages/initscripts/initscripts-1.0/h3900/devices
new file mode 100755
index 0000000000..0e59229225
--- /dev/null
+++ b/meta/packages/initscripts/initscripts-1.0/h3900/devices
@@ -0,0 +1,37 @@
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
7if test -e /dev/.udevdb; then
8 exit 0
9fi
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"