summaryrefslogtreecommitdiffstats
path: root/etc/scII-bmwm-20030913-1/init.d/rcS
blob: 2dfcc637035bf24bb303e2cf2ea5222d8e9fa490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/sh
#
# /etc/init.d/rcS
#
# Configuration for BMW
#
# 2003/08/23 Robert Schwebel <r.schwebel@pengutronix.de>
#

echo
echo "PTXDIST - prerelease 2003/08/28"
echo "Please report problems with this software"
echo "to Robert Schwebel <r.schwebel@pengutronix.de>"
echo 

echo -n "mounting filesystems..."
mount -a 
echo "done."

echo -n "creating links in /dev..."
ln -s /dev/vc/0 /dev/tty0
ln -s /dev/vc/1 /dev/tty1
ln -s /dev/vc/2 /dev/tty2
ln -s /dev/vc/3 /dev/tty3
ln -s /dev/vc/4 /dev/tty4
ln -s /dev/vc/5 /dev/tty5
ln -s /dev/vc/6 /dev/tty6
ln -s /dev/vc/7 /dev/tty7
ln -s /dev/vc/8 /dev/tty8
ln -s /dev/vc/9 /dev/tty9
ln -s /dev/fb/0 /dev/fb0
echo "done."

#echo -n "Starting PPP Deamon" 
#/usr/sbin/pppd call gprs >/dev/null
#echo "done."

#echo -n "Initialize input subsystem"
#/sbin/modprobe mousedev
#echo "done."

# This needs a running input subsystem!
# FIXME: fix broken driver
#echo -n "Initialize CAN subsystem"
#/sbin/modprobe pcan type=isa io=0x300 irq=7 
#echo "done."

# We emulate a PS/2 mouse
#echo -n "Initialize PS/2 device </dev/psaux>"
#ln -s /dev/input/mouse0 /dev/psaux
#echo "done."

# Start I-Driver once 
# FIXME: What's this crap? 
#echo -n "Starting commdrive..."
#/bin/commdrive &
#echo "done."

/usr/X11R6/bin/xmodmap /etc/xmodmap