mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
68
openembedded/packages/initscripts/initscripts-1.0/akita/devices
vendored
Executable file
68
openembedded/packages/initscripts/initscripts-1.0/akita/devices
vendored
Executable file
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
128
openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map
vendored
Normal file
128
openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.4.map
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
keymaps 0-2,4-5
|
||||
keycode 1 = +a +A +a Control_a Control_a
|
||||
keycode 2 = +b +B underscore Control_b Control_b
|
||||
keycode 3 = +c +C +c Control_c Control_c
|
||||
keycode 4 = +d +D +d Control_d Control_d
|
||||
keycode 5 = +e +E equal Control_e Control_e
|
||||
keycode 6 = +f +F backslash Control_f Control_f
|
||||
keycode 7 = +g +G semicolon Control_g Control_g
|
||||
keycode 8 = +h +H colon BackSpace BackSpace
|
||||
keycode 9 = +i +I +i Tab Tab
|
||||
keycode 10 = +j +J asterisk Linefeed Linefeed
|
||||
keycode 11 = +k +K backslash Control_k Control_k
|
||||
keycode 12 = +l +L bar Control_l Control_l
|
||||
keycode 13 = +m +M +m Control_m Control_m
|
||||
keycode 14 = +n +N +n Control_n Control_n
|
||||
keycode 15 = +o +O +o Control_o Control_o
|
||||
keycode 16 = +p +P +p Control_p Control_p
|
||||
keycode 17 = +q +Q +q Control_q Control_q
|
||||
keycode 18 = +r +R plus Control_r Control_r
|
||||
keycode 19 = +s +S +s Control_s Control_s
|
||||
keycode 20 = +t +T bracketleft Control_t Control_t
|
||||
keycode 21 = +u +U +u Control_u Control_u
|
||||
keycode 22 = +v +V +v Control_v Control_v
|
||||
keycode 23 = +w +W asciicircum Control_w Control_w
|
||||
keycode 24 = +x +X +x Control_x Control_x
|
||||
keycode 25 = +y +Y bracketright Control_y Control_y
|
||||
keycode 26 = +z +Z +z Control_z Control_z
|
||||
keycode 27 = Shift Shift Shift Shift Shift
|
||||
keycode 28 = Return Return Return Return Return
|
||||
keycode 29 = F11 F11 F11 F11 F11
|
||||
keycode 30 = AltGr AltGr AltGr AltGr AltGr
|
||||
keycode 31 = BackSpace BackSpace Delete BackSpace BackSpace
|
||||
keycode 32 = Num_Lock Num_Lock Num_Lock Num_Lock Num_Lock
|
||||
keycode 33 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 34 = Escape Escape Escape Escape Escape
|
||||
keycode 35 = Left Left Home Left Left
|
||||
keycode 36 = Up Up PageUp Up Up
|
||||
keycode 37 = Down Down PageDown Down Down
|
||||
keycode 38 = Right Right End Right Right
|
||||
keycode 39 = Return Return Return Return Return
|
||||
keycode 40 = F12 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 41 = one exclam VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 42 = two quotedbl VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 43 = three numbersign VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 44 = four dollar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 45 = five percent VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 46 = six ampersand VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 47 = seven apostrophe VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 48 = eight parenleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 49 = nine parenright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 50 = zero asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 51 = minus equal VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 52 = asciicircum asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 53 = backslash bar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 54 = bracketleft braceleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 55 = at grave VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 56 = Control Control Control Control Control
|
||||
keycode 57 = Alt Alt Alt Alt Alt
|
||||
keycode 58 = Control Control Control Control Control
|
||||
keycode 59 = minus at VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 60 = Shift_Lock Shift_Lock Shift_Lock Shift_Lock Shift_Lock
|
||||
keycode 61 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 62 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 63 = comma slash less VoidSymbol VoidSymbol
|
||||
keycode 64 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 65 = Tab Tab Caps_Lock Tab Tab
|
||||
keycode 66 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 67 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 68 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 69 = asciitilde VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 70 = slash VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 71 = KP_1 KP_1 KP_1 KP_1 KP_1
|
||||
keycode 72 = KP_2 KP_2 KP_2 KP_2 KP_2
|
||||
keycode 73 = KP_3 KP_3 KP_3 KP_3 KP_3
|
||||
keycode 74 = KP_4 KP_4 KP_4 KP_4 KP_4
|
||||
keycode 75 = KP_5 KP_5 KP_5 KP_5 KP_5
|
||||
keycode 76 = KP_6 KP_6 KP_6 KP_6 KP_6
|
||||
keycode 77 = KP_7 KP_7 KP_7 KP_7 KP_7
|
||||
keycode 78 = KP_8 KP_8 KP_8 KP_8 KP_8
|
||||
keycode 79 = KP_9 KP_9 KP_9 KP_9 KP_9
|
||||
keycode 80 = KP_0 KP_0 KP_0 KP_0 KP_0
|
||||
keycode 81 = Delete Delete Delete Delete Delete
|
||||
keycode 82 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide
|
||||
keycode 83 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply
|
||||
keycode 84 = Return Return Return Return Return
|
||||
keycode 85 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract
|
||||
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add
|
||||
keycode 87 = KP_Enter KP_Enter KP_Enter KP_Enter KP_Enter
|
||||
keycode 88 = F9 F9 F9 F9 F9
|
||||
keycode 89 = F10 F10 F10 F10 F10
|
||||
keycode 90 = F13 F13 F13 F13 F13
|
||||
keycode 91 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 92 = space space space space space
|
||||
keycode 93 = KP_Period KP_Period KP_Period KP_Period KP_Period
|
||||
keycode 94 = Escape Escape Escape Escape
|
||||
keycode 95 = semicolon plus VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 96 = colon asterisk VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 97 = bracketright braceright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 98 = comma less VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 99 = period greater VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 100 = slash question VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 101 = underscore underscore VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 102 = F15 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 103 = period question greater VoidSymbol VoidSymbol
|
||||
keycode 104 = Find Find Find Find Find
|
||||
keycode 105 = Select Select Select Select Select
|
||||
keycode 106 = Prior Scroll_Backward Prior Prior Prior
|
||||
keycode 107 = Next Scroll_Forward Next Next Next
|
||||
keycode 108 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 109 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 110 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 111 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 112 = Shift Shift Shift Shift Shift
|
||||
keycode 113 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 114 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 115 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 116 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 117 = Control Control Control Control Control
|
||||
keycode 118 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 119 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 120 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 121 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 122 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 123 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 124 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 125 = Up Up Up Up
|
||||
keycode 126 = Down Down Down Down
|
||||
keycode 127 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
213
openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.6.map
vendored
Normal file
213
openembedded/packages/initscripts/initscripts-1.0/akita/keymap-2.6.map
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
# Default kernel keymap. This uses 7 modifier combinations.
|
||||
keymaps 0-2,4-5,8,12
|
||||
# Change the above line into
|
||||
# keymaps 0-2,4-6,8,12
|
||||
# in case you want the entries
|
||||
# altgr control keycode 83 = Boot
|
||||
# altgr control keycode 111 = Boot
|
||||
# below.
|
||||
#
|
||||
keycode 1 =
|
||||
keycode 2 = one exclam
|
||||
control alt keycode 2 = Console_1
|
||||
keycode 3 = two quotedbl
|
||||
control alt keycode 3 = Console_2
|
||||
keycode 4 = three numbersign
|
||||
control alt keycode 4 = Console_3
|
||||
keycode 5 = four dollar
|
||||
control alt keycode 5 = Console_4
|
||||
keycode 6 = five percent
|
||||
control alt keycode 6 = Console_5
|
||||
keycode 7 = six ampersand
|
||||
control alt keycode 7 = Console_6
|
||||
keycode 8 = seven apostrophe
|
||||
keycode 9 = eight parenleft
|
||||
keycode 10 = nine parenright
|
||||
keycode 11 = zero asciitilde
|
||||
keycode 12 = minus at
|
||||
altgr keycode 12 = at
|
||||
keycode 13 =
|
||||
keycode 14 = BackSpace
|
||||
altgr keycode 14 = Delete
|
||||
keycode 15 = Tab
|
||||
shift keycode 65 = Caps_Lock
|
||||
keycode 16 = q
|
||||
keycode 17 = w
|
||||
altgr keycode 17 = asciicircum
|
||||
keycode 18 = e
|
||||
altgr keycode 18 = equal
|
||||
keycode 19 = r
|
||||
altgr keycode 19 = plus
|
||||
keycode 20 = t
|
||||
altgr keycode 20 = bracketleft
|
||||
keycode 21 = y
|
||||
altgr keycode 21 = bracketright
|
||||
keycode 22 = u
|
||||
altgr keycode 22 = braceleft
|
||||
keycode 23 = i
|
||||
altgr keycode 23 = braceright
|
||||
keycode 24 = o
|
||||
keycode 25 = p
|
||||
keycode 26 =
|
||||
keycode 27 =
|
||||
keycode 28 = Return
|
||||
keycode 29 = Control
|
||||
keycode 30 = a
|
||||
keycode 31 = s
|
||||
keycode 32 = d
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = backslash
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = semicolon
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = colon
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = asterisk
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = backslash
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = bar
|
||||
keycode 39 =
|
||||
keycode 40 =
|
||||
keycode 41 =
|
||||
keycode 42 = Shift
|
||||
keycode 43 =
|
||||
keycode 44 = z
|
||||
keycode 45 = x
|
||||
keycode 46 = c
|
||||
keycode 47 = v
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = underscore
|
||||
keycode 49 = n
|
||||
keycode 50 = m
|
||||
keycode 51 = comma slash
|
||||
altgr keycode 51 = less
|
||||
keycode 52 = period question
|
||||
altgr keycode 52 = greater
|
||||
keycode 53 =
|
||||
keycode 54 = Shift
|
||||
keycode 55 =
|
||||
keycode 56 = Alt
|
||||
keycode 57 = space space
|
||||
control keycode 57 = nul
|
||||
keycode 59 = F9
|
||||
keycode 60 = F10
|
||||
keycode 61 = AltGr
|
||||
keycode 62 = Escape
|
||||
keycode 63 = Return
|
||||
keycode 64 = Escape
|
||||
keycode 65 = Down
|
||||
keycode 66 = Up
|
||||
keycode 67 = Control
|
||||
keycode 68 = F13
|
||||
keycode 79 = F15
|
||||
keycode 80 = F16
|
||||
keycode 82 = F17
|
||||
keycode 87 = Return
|
||||
keycode 88 = F11
|
||||
keycode 97 = Control
|
||||
keycode 99 = F12
|
||||
keycode 103 = Up
|
||||
altgr keycode 103 = PageUp
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Decr_Console
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = Incr_Console
|
||||
keycode 108 = Down
|
||||
altgr keycode 108 = PageDown
|
||||
string F1 = "\033[[A"
|
||||
string F2 = "\033[[B"
|
||||
string F3 = "\033[[C"
|
||||
string F4 = "\033[[D"
|
||||
string F5 = "\033[[E"
|
||||
string F6 = "\033[17~"
|
||||
string F7 = "\033[18~"
|
||||
string F8 = "\033[19~"
|
||||
string F9 = "\033[20~"
|
||||
string F10 = "\033[21~"
|
||||
string F11 = "\033[23~"
|
||||
string F12 = "\033[24~"
|
||||
string F13 = "\033[25~"
|
||||
string F14 = "\033[26~"
|
||||
string F15 = "\033[28~"
|
||||
string F16 = "\033[29~"
|
||||
string F17 = "\033[31~"
|
||||
string F18 = "\033[32~"
|
||||
string F19 = "\033[33~"
|
||||
string F20 = "\033[34~"
|
||||
string Find = "\033[1~"
|
||||
string Insert = "\033[2~"
|
||||
string Remove = "\033[3~"
|
||||
string Select = "\033[4~"
|
||||
string Prior = "\033[5~"
|
||||
string Next = "\033[6~"
|
||||
string Macro = "\033[M"
|
||||
string Pause = "\033[P"
|
||||
compose '`' 'A' to '<27>'
|
||||
compose '`' 'a' to '<27>'
|
||||
compose '\'' 'A' to '<27>'
|
||||
compose '\'' 'a' to '<27>'
|
||||
compose '^' 'A' to '<27>'
|
||||
compose '^' 'a' to '<27>'
|
||||
compose '~' 'A' to '<27>'
|
||||
compose '~' 'a' to '<27>'
|
||||
compose '"' 'A' to '<27>'
|
||||
compose '"' 'a' to '<27>'
|
||||
compose 'O' 'A' to '<27>'
|
||||
compose 'o' 'a' to '<27>'
|
||||
compose '0' 'A' to '<27>'
|
||||
compose '0' 'a' to '<27>'
|
||||
compose 'A' 'A' to '<27>'
|
||||
compose 'a' 'a' to '<27>'
|
||||
compose 'A' 'E' to '<27>'
|
||||
compose 'a' 'e' to '<27>'
|
||||
compose ',' 'C' to '<27>'
|
||||
compose ',' 'c' to '<27>'
|
||||
compose '`' 'E' to '<27>'
|
||||
compose '`' 'e' to '<27>'
|
||||
compose '\'' 'E' to '<27>'
|
||||
compose '\'' 'e' to '<27>'
|
||||
compose '^' 'E' to '<27>'
|
||||
compose '^' 'e' to '<27>'
|
||||
compose '"' 'E' to '<27>'
|
||||
compose '"' 'e' to '<27>'
|
||||
compose '`' 'I' to '<27>'
|
||||
compose '`' 'i' to '<27>'
|
||||
compose '\'' 'I' to '<27>'
|
||||
compose '\'' 'i' to '<27>'
|
||||
compose '^' 'I' to '<27>'
|
||||
compose '^' 'i' to '<27>'
|
||||
compose '"' 'I' to '<27>'
|
||||
compose '"' 'i' to '<27>'
|
||||
compose '-' 'D' to '<27>'
|
||||
compose '-' 'd' to '<27>'
|
||||
compose '~' 'N' to '<27>'
|
||||
compose '~' 'n' to '<27>'
|
||||
compose '`' 'O' to '<27>'
|
||||
compose '`' 'o' to '<27>'
|
||||
compose '\'' 'O' to '<27>'
|
||||
compose '\'' 'o' to '<27>'
|
||||
compose '^' 'O' to '<27>'
|
||||
compose '^' 'o' to '<27>'
|
||||
compose '~' 'O' to '<27>'
|
||||
compose '~' 'o' to '<27>'
|
||||
compose '"' 'O' to '<27>'
|
||||
compose '"' 'o' to '<27>'
|
||||
compose '/' 'O' to '<27>'
|
||||
compose '/' 'o' to '<27>'
|
||||
compose '`' 'U' to '<27>'
|
||||
compose '`' 'u' to '<27>'
|
||||
compose '\'' 'U' to '<27>'
|
||||
compose '\'' 'u' to '<27>'
|
||||
compose '^' 'U' to '<27>'
|
||||
compose '^' 'u' to '<27>'
|
||||
compose '"' 'U' to '<27>'
|
||||
compose '"' 'u' to '<27>'
|
||||
compose '\'' 'Y' to '<27>'
|
||||
compose '\'' 'y' to '<27>'
|
||||
compose 'T' 'H' to '<27>'
|
||||
compose 't' 'h' to '<27>'
|
||||
compose 's' 's' to '<27>'
|
||||
compose '"' 'y' to '<27>'
|
||||
compose 's' 'z' to '<27>'
|
||||
compose 'i' 'j' to '<27>'
|
||||
6
openembedded/packages/initscripts/initscripts-1.0/arm/alignment.sh
vendored
Normal file
6
openembedded/packages/initscripts/initscripts-1.0/arm/alignment.sh
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -e /proc/cpu/alignment ]; then
|
||||
echo "3" > /proc/cpu/alignment
|
||||
fi
|
||||
|
||||
15
openembedded/packages/initscripts/initscripts-1.0/banner
vendored
Executable file
15
openembedded/packages/initscripts/initscripts-1.0/banner
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -e /dev/tty ]; then
|
||||
/bin/mknod -m 0666 /dev/tty c 5 0
|
||||
fi
|
||||
|
||||
if ( > /dev/tty0 ) 2>/dev/null; then
|
||||
vtmaster=/dev/tty0
|
||||
elif ( > /dev/vc/0 ) 2>/dev/null; then
|
||||
vtmaster=/dev/vc/0
|
||||
else
|
||||
vtmaster=/dev/null
|
||||
fi
|
||||
echo > $vtmaster
|
||||
echo "Please wait: booting..." > $vtmaster
|
||||
71
openembedded/packages/initscripts/initscripts-1.0/bootmisc.sh
vendored
Executable file
71
openembedded/packages/initscripts/initscripts-1.0/bootmisc.sh
vendored
Executable file
@@ -0,0 +1,71 @@
|
||||
#
|
||||
# bootmisc.sh Miscellaneous things to be done during bootup.
|
||||
#
|
||||
|
||||
. /etc/default/rcS
|
||||
#
|
||||
# Put a nologin file in /etc to prevent people from logging in before
|
||||
# system startup is complete.
|
||||
#
|
||||
if test "$DELAYLOGIN" = yes
|
||||
then
|
||||
echo "System bootup in progress - please wait" > /etc/nologin
|
||||
cp /etc/nologin /etc/nologin.boot
|
||||
fi
|
||||
|
||||
#
|
||||
# Set pseudo-terminal access permissions.
|
||||
#
|
||||
if ( ! grep -q devfs /proc/mounts ) && test -c /dev/ttyp0
|
||||
then
|
||||
chmod 666 /dev/tty[p-za-e][0-9a-f]
|
||||
chown root:tty /dev/tty[p-za-e][0-9a-f]
|
||||
fi
|
||||
|
||||
#
|
||||
# Apply /proc settings if defined
|
||||
#
|
||||
SYSCTL_CONF="/etc/sysctl.conf"
|
||||
if [ -f "${SYSCTL_CONF}" ]
|
||||
then
|
||||
if [ -x "/sbin/sysctl" ]
|
||||
then
|
||||
/sbin/sysctl -p "${SYSCTL_CONF}"
|
||||
else
|
||||
echo "To have ${SYSCTL_CONF} applied during boot, install package <procps>."
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Update /etc/motd.
|
||||
#
|
||||
if test "$EDITMOTD" != no
|
||||
then
|
||||
uname -a > /etc/motd.tmp
|
||||
sed 1d /etc/motd >> /etc/motd.tmp
|
||||
mv /etc/motd.tmp /etc/motd
|
||||
fi
|
||||
|
||||
#
|
||||
# This is as good a place as any for a sanity check
|
||||
# /tmp should be a symlink to /var/tmp to cut down on the number
|
||||
# of mounted ramdisks.
|
||||
if test ! -L /tmp && test -d /var/tmp
|
||||
then
|
||||
rm -rf /tmp
|
||||
ln -sf /var/tmp /tmp
|
||||
fi
|
||||
|
||||
#
|
||||
# Update dynamic library cache
|
||||
#
|
||||
/sbin/ldconfig
|
||||
|
||||
#
|
||||
# Recover the time, if there is a time file
|
||||
#
|
||||
if test -e /etc/timestamp
|
||||
then
|
||||
date -s `cat /etc/timestamp`
|
||||
fi
|
||||
: exit 0
|
||||
68
openembedded/packages/initscripts/initscripts-1.0/borzoi/devices
vendored
Normal file
68
openembedded/packages/initscripts/initscripts-1.0/borzoi/devices
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
128
openembedded/packages/initscripts/initscripts-1.0/borzoi/keymap-2.4.map
vendored
Normal file
128
openembedded/packages/initscripts/initscripts-1.0/borzoi/keymap-2.4.map
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
keymaps 0-2,4-5
|
||||
keycode 1 = +a +A +a Control_a Control_a
|
||||
keycode 2 = +b +B underscore Control_b Control_b
|
||||
keycode 3 = +c +C +c Control_c Control_c
|
||||
keycode 4 = +d +D +d Control_d Control_d
|
||||
keycode 5 = +e +E equal Control_e Control_e
|
||||
keycode 6 = +f +F backslash Control_f Control_f
|
||||
keycode 7 = +g +G semicolon Control_g Control_g
|
||||
keycode 8 = +h +H colon BackSpace BackSpace
|
||||
keycode 9 = +i +I +i Tab Tab
|
||||
keycode 10 = +j +J asterisk Linefeed Linefeed
|
||||
keycode 11 = +k +K backslash Control_k Control_k
|
||||
keycode 12 = +l +L bar Control_l Control_l
|
||||
keycode 13 = +m +M +m Control_m Control_m
|
||||
keycode 14 = +n +N +n Control_n Control_n
|
||||
keycode 15 = +o +O +o Control_o Control_o
|
||||
keycode 16 = +p +P +p Control_p Control_p
|
||||
keycode 17 = +q +Q +q Control_q Control_q
|
||||
keycode 18 = +r +R plus Control_r Control_r
|
||||
keycode 19 = +s +S +s Control_s Control_s
|
||||
keycode 20 = +t +T bracketleft Control_t Control_t
|
||||
keycode 21 = +u +U +u Control_u Control_u
|
||||
keycode 22 = +v +V +v Control_v Control_v
|
||||
keycode 23 = +w +W asciicircum Control_w Control_w
|
||||
keycode 24 = +x +X +x Control_x Control_x
|
||||
keycode 25 = +y +Y bracketright Control_y Control_y
|
||||
keycode 26 = +z +Z +z Control_z Control_z
|
||||
keycode 27 = Shift Shift Shift Shift Shift
|
||||
keycode 28 = Return Return Return Return Return
|
||||
keycode 29 = F11 F11 F11 F11 F11
|
||||
keycode 30 = AltGr AltGr AltGr AltGr AltGr
|
||||
keycode 31 = BackSpace BackSpace Delete BackSpace BackSpace
|
||||
keycode 32 = Num_Lock Num_Lock Num_Lock Num_Lock Num_Lock
|
||||
keycode 33 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 34 = Escape Escape Escape Escape Escape
|
||||
keycode 35 = Left Left Home Left Left
|
||||
keycode 36 = Up Up PageUp Up Up
|
||||
keycode 37 = Down Down PageDown Down Down
|
||||
keycode 38 = Right Right End Right Right
|
||||
keycode 39 = Return Return Return Return Return
|
||||
keycode 40 = F12 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 41 = one exclam VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 42 = two quotedbl VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 43 = three numbersign VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 44 = four dollar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 45 = five percent VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 46 = six ampersand VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 47 = seven apostrophe VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 48 = eight parenleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 49 = nine parenright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 50 = zero asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 51 = minus equal VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 52 = asciicircum asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 53 = backslash bar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 54 = bracketleft braceleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 55 = at grave VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 56 = Control Control Control Control Control
|
||||
keycode 57 = Alt Alt Alt Alt Alt
|
||||
keycode 58 = Control Control Control Control Control
|
||||
keycode 59 = minus at VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 60 = Shift_Lock Shift_Lock Shift_Lock Shift_Lock Shift_Lock
|
||||
keycode 61 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 62 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 63 = comma slash less VoidSymbol VoidSymbol
|
||||
keycode 64 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 65 = Tab Tab Caps_Lock Tab Tab
|
||||
keycode 66 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 67 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 68 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 69 = asciitilde VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 70 = slash VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 71 = KP_1 KP_1 KP_1 KP_1 KP_1
|
||||
keycode 72 = KP_2 KP_2 KP_2 KP_2 KP_2
|
||||
keycode 73 = KP_3 KP_3 KP_3 KP_3 KP_3
|
||||
keycode 74 = KP_4 KP_4 KP_4 KP_4 KP_4
|
||||
keycode 75 = KP_5 KP_5 KP_5 KP_5 KP_5
|
||||
keycode 76 = KP_6 KP_6 KP_6 KP_6 KP_6
|
||||
keycode 77 = KP_7 KP_7 KP_7 KP_7 KP_7
|
||||
keycode 78 = KP_8 KP_8 KP_8 KP_8 KP_8
|
||||
keycode 79 = KP_9 KP_9 KP_9 KP_9 KP_9
|
||||
keycode 80 = KP_0 KP_0 KP_0 KP_0 KP_0
|
||||
keycode 81 = Delete Delete Delete Delete Delete
|
||||
keycode 82 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide
|
||||
keycode 83 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply
|
||||
keycode 84 = Return Return Return Return Return
|
||||
keycode 85 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract
|
||||
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add
|
||||
keycode 87 = KP_Enter KP_Enter KP_Enter KP_Enter KP_Enter
|
||||
keycode 88 = F9 F9 F9 F9 F9
|
||||
keycode 89 = F10 F10 F10 F10 F10
|
||||
keycode 90 = F13 F13 F13 F13 F13
|
||||
keycode 91 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 92 = space space space space space
|
||||
keycode 93 = KP_Period KP_Period KP_Period KP_Period KP_Period
|
||||
keycode 94 = Escape Escape Escape Escape
|
||||
keycode 95 = semicolon plus VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 96 = colon asterisk VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 97 = bracketright braceright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 98 = comma less VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 99 = period greater VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 100 = slash question VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 101 = underscore underscore VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 102 = F15 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 103 = period question greater VoidSymbol VoidSymbol
|
||||
keycode 104 = Find Find Find Find Find
|
||||
keycode 105 = Select Select Select Select Select
|
||||
keycode 106 = Prior Scroll_Backward Prior Prior Prior
|
||||
keycode 107 = Next Scroll_Forward Next Next Next
|
||||
keycode 108 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 109 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 110 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 111 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 112 = Shift Shift Shift Shift Shift
|
||||
keycode 113 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 114 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 115 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 116 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 117 = Control Control Control Control Control
|
||||
keycode 118 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 119 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 120 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 121 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 122 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 123 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 124 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 125 = Up Up Up Up
|
||||
keycode 126 = Down Down Down Down
|
||||
keycode 127 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
213
openembedded/packages/initscripts/initscripts-1.0/borzoi/keymap-2.6.map
vendored
Normal file
213
openembedded/packages/initscripts/initscripts-1.0/borzoi/keymap-2.6.map
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
# Default kernel keymap. This uses 7 modifier combinations.
|
||||
keymaps 0-2,4-5,8,12
|
||||
# Change the above line into
|
||||
# keymaps 0-2,4-6,8,12
|
||||
# in case you want the entries
|
||||
# altgr control keycode 83 = Boot
|
||||
# altgr control keycode 111 = Boot
|
||||
# below.
|
||||
#
|
||||
keycode 1 =
|
||||
keycode 2 = one exclam
|
||||
control alt keycode 2 = Console_1
|
||||
keycode 3 = two quotedbl
|
||||
control alt keycode 3 = Console_2
|
||||
keycode 4 = three numbersign
|
||||
control alt keycode 4 = Console_3
|
||||
keycode 5 = four dollar
|
||||
control alt keycode 5 = Console_4
|
||||
keycode 6 = five percent
|
||||
control alt keycode 6 = Console_5
|
||||
keycode 7 = six ampersand
|
||||
control alt keycode 7 = Console_6
|
||||
keycode 8 = seven apostrophe
|
||||
keycode 9 = eight parenleft
|
||||
keycode 10 = nine parenright
|
||||
keycode 11 = zero asciitilde
|
||||
keycode 12 = minus at
|
||||
altgr keycode 12 = at
|
||||
keycode 13 =
|
||||
keycode 14 = BackSpace
|
||||
altgr keycode 14 = Delete
|
||||
keycode 15 = Tab
|
||||
shift keycode 65 = Caps_Lock
|
||||
keycode 16 = q
|
||||
keycode 17 = w
|
||||
altgr keycode 17 = asciicircum
|
||||
keycode 18 = e
|
||||
altgr keycode 18 = equal
|
||||
keycode 19 = r
|
||||
altgr keycode 19 = plus
|
||||
keycode 20 = t
|
||||
altgr keycode 20 = bracketleft
|
||||
keycode 21 = y
|
||||
altgr keycode 21 = bracketright
|
||||
keycode 22 = u
|
||||
altgr keycode 22 = braceleft
|
||||
keycode 23 = i
|
||||
altgr keycode 23 = braceright
|
||||
keycode 24 = o
|
||||
keycode 25 = p
|
||||
keycode 26 =
|
||||
keycode 27 =
|
||||
keycode 28 = Return
|
||||
keycode 29 = Control
|
||||
keycode 30 = a
|
||||
keycode 31 = s
|
||||
keycode 32 = d
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = backslash
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = semicolon
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = colon
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = asterisk
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = backslash
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = bar
|
||||
keycode 39 =
|
||||
keycode 40 =
|
||||
keycode 41 =
|
||||
keycode 42 = Shift
|
||||
keycode 43 =
|
||||
keycode 44 = z
|
||||
keycode 45 = x
|
||||
keycode 46 = c
|
||||
keycode 47 = v
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = underscore
|
||||
keycode 49 = n
|
||||
keycode 50 = m
|
||||
keycode 51 = comma slash
|
||||
altgr keycode 51 = less
|
||||
keycode 52 = period question
|
||||
altgr keycode 52 = greater
|
||||
keycode 53 =
|
||||
keycode 54 = Shift
|
||||
keycode 55 =
|
||||
keycode 56 = Alt
|
||||
keycode 57 = space space
|
||||
control keycode 57 = nul
|
||||
keycode 59 = F9
|
||||
keycode 60 = F10
|
||||
keycode 61 = AltGr
|
||||
keycode 62 = Escape
|
||||
keycode 63 = Return
|
||||
keycode 64 = Escape
|
||||
keycode 65 = Down
|
||||
keycode 66 = Up
|
||||
keycode 67 = Control
|
||||
keycode 68 = F13
|
||||
keycode 79 = F15
|
||||
keycode 80 = F16
|
||||
keycode 82 = F17
|
||||
keycode 87 = Return
|
||||
keycode 88 = F11
|
||||
keycode 97 = Control
|
||||
keycode 99 = F12
|
||||
keycode 103 = Up
|
||||
altgr keycode 103 = PageUp
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Decr_Console
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = Incr_Console
|
||||
keycode 108 = Down
|
||||
altgr keycode 108 = PageDown
|
||||
string F1 = "\033[[A"
|
||||
string F2 = "\033[[B"
|
||||
string F3 = "\033[[C"
|
||||
string F4 = "\033[[D"
|
||||
string F5 = "\033[[E"
|
||||
string F6 = "\033[17~"
|
||||
string F7 = "\033[18~"
|
||||
string F8 = "\033[19~"
|
||||
string F9 = "\033[20~"
|
||||
string F10 = "\033[21~"
|
||||
string F11 = "\033[23~"
|
||||
string F12 = "\033[24~"
|
||||
string F13 = "\033[25~"
|
||||
string F14 = "\033[26~"
|
||||
string F15 = "\033[28~"
|
||||
string F16 = "\033[29~"
|
||||
string F17 = "\033[31~"
|
||||
string F18 = "\033[32~"
|
||||
string F19 = "\033[33~"
|
||||
string F20 = "\033[34~"
|
||||
string Find = "\033[1~"
|
||||
string Insert = "\033[2~"
|
||||
string Remove = "\033[3~"
|
||||
string Select = "\033[4~"
|
||||
string Prior = "\033[5~"
|
||||
string Next = "\033[6~"
|
||||
string Macro = "\033[M"
|
||||
string Pause = "\033[P"
|
||||
compose '`' 'A' to '<27>'
|
||||
compose '`' 'a' to '<27>'
|
||||
compose '\'' 'A' to '<27>'
|
||||
compose '\'' 'a' to '<27>'
|
||||
compose '^' 'A' to '<27>'
|
||||
compose '^' 'a' to '<27>'
|
||||
compose '~' 'A' to '<27>'
|
||||
compose '~' 'a' to '<27>'
|
||||
compose '"' 'A' to '<27>'
|
||||
compose '"' 'a' to '<27>'
|
||||
compose 'O' 'A' to '<27>'
|
||||
compose 'o' 'a' to '<27>'
|
||||
compose '0' 'A' to '<27>'
|
||||
compose '0' 'a' to '<27>'
|
||||
compose 'A' 'A' to '<27>'
|
||||
compose 'a' 'a' to '<27>'
|
||||
compose 'A' 'E' to '<27>'
|
||||
compose 'a' 'e' to '<27>'
|
||||
compose ',' 'C' to '<27>'
|
||||
compose ',' 'c' to '<27>'
|
||||
compose '`' 'E' to '<27>'
|
||||
compose '`' 'e' to '<27>'
|
||||
compose '\'' 'E' to '<27>'
|
||||
compose '\'' 'e' to '<27>'
|
||||
compose '^' 'E' to '<27>'
|
||||
compose '^' 'e' to '<27>'
|
||||
compose '"' 'E' to '<27>'
|
||||
compose '"' 'e' to '<27>'
|
||||
compose '`' 'I' to '<27>'
|
||||
compose '`' 'i' to '<27>'
|
||||
compose '\'' 'I' to '<27>'
|
||||
compose '\'' 'i' to '<27>'
|
||||
compose '^' 'I' to '<27>'
|
||||
compose '^' 'i' to '<27>'
|
||||
compose '"' 'I' to '<27>'
|
||||
compose '"' 'i' to '<27>'
|
||||
compose '-' 'D' to '<27>'
|
||||
compose '-' 'd' to '<27>'
|
||||
compose '~' 'N' to '<27>'
|
||||
compose '~' 'n' to '<27>'
|
||||
compose '`' 'O' to '<27>'
|
||||
compose '`' 'o' to '<27>'
|
||||
compose '\'' 'O' to '<27>'
|
||||
compose '\'' 'o' to '<27>'
|
||||
compose '^' 'O' to '<27>'
|
||||
compose '^' 'o' to '<27>'
|
||||
compose '~' 'O' to '<27>'
|
||||
compose '~' 'o' to '<27>'
|
||||
compose '"' 'O' to '<27>'
|
||||
compose '"' 'o' to '<27>'
|
||||
compose '/' 'O' to '<27>'
|
||||
compose '/' 'o' to '<27>'
|
||||
compose '`' 'U' to '<27>'
|
||||
compose '`' 'u' to '<27>'
|
||||
compose '\'' 'U' to '<27>'
|
||||
compose '\'' 'u' to '<27>'
|
||||
compose '^' 'U' to '<27>'
|
||||
compose '^' 'u' to '<27>'
|
||||
compose '"' 'U' to '<27>'
|
||||
compose '"' 'u' to '<27>'
|
||||
compose '\'' 'Y' to '<27>'
|
||||
compose '\'' 'y' to '<27>'
|
||||
compose 'T' 'H' to '<27>'
|
||||
compose 't' 'h' to '<27>'
|
||||
compose 's' 's' to '<27>'
|
||||
compose '"' 'y' to '<27>'
|
||||
compose 's' 'z' to '<27>'
|
||||
compose 'i' 'j' to '<27>'
|
||||
68
openembedded/packages/initscripts/initscripts-1.0/c7x0/devices
vendored
Executable file
68
openembedded/packages/initscripts/initscripts-1.0/c7x0/devices
vendored
Executable file
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
213
openembedded/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map
vendored
Executable file
213
openembedded/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map
vendored
Executable file
@@ -0,0 +1,213 @@
|
||||
# Default kernel keymap. This uses 7 modifier combinations.
|
||||
keymaps 0-2,4-5,8,12
|
||||
# Change the above line into
|
||||
# keymaps 0-2,4-6,8,12
|
||||
# in case you want the entries
|
||||
# altgr control keycode 83 = Boot
|
||||
# altgr control keycode 111 = Boot
|
||||
# below.
|
||||
#
|
||||
keycode 1 =
|
||||
keycode 2 = one exclam
|
||||
control alt keycode 2 = Console_1
|
||||
keycode 3 = two quotedbl
|
||||
control alt keycode 3 = Console_2
|
||||
keycode 4 = three numbersign
|
||||
control alt keycode 4 = Console_3
|
||||
keycode 5 = four dollar
|
||||
control alt keycode 5 = Console_4
|
||||
keycode 6 = five percent
|
||||
control alt keycode 6 = Console_5
|
||||
keycode 7 = six ampersand
|
||||
control alt keycode 7 = Console_6
|
||||
keycode 8 = seven apostrophe
|
||||
keycode 9 = eight parenleft
|
||||
keycode 10 = nine parenright
|
||||
keycode 11 = zero asciitilde
|
||||
keycode 12 = minus at
|
||||
altgr keycode 12 = at
|
||||
keycode 13 =
|
||||
keycode 14 = BackSpace
|
||||
altgr keycode 14 = Delete
|
||||
keycode 15 = Tab
|
||||
shift keycode 65 = Caps_Lock
|
||||
keycode 16 = q
|
||||
keycode 17 = w
|
||||
altgr keycode 17 = asciicircum
|
||||
keycode 18 = e
|
||||
altgr keycode 18 = equal
|
||||
keycode 19 = r
|
||||
altgr keycode 19 = plus
|
||||
keycode 20 = t
|
||||
altgr keycode 20 = bracketleft
|
||||
keycode 21 = y
|
||||
altgr keycode 21 = bracketright
|
||||
keycode 22 = u
|
||||
altgr keycode 22 = braceleft
|
||||
keycode 23 = i
|
||||
altgr keycode 23 = braceright
|
||||
keycode 24 = o
|
||||
keycode 25 = p
|
||||
keycode 26 =
|
||||
keycode 27 =
|
||||
keycode 28 = Return
|
||||
keycode 29 = Control
|
||||
keycode 30 = a
|
||||
keycode 31 = s
|
||||
keycode 32 = d
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = backslash
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = semicolon
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = colon
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = asterisk
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = backslash
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = bar
|
||||
keycode 39 =
|
||||
keycode 40 =
|
||||
keycode 41 =
|
||||
keycode 42 = Shift
|
||||
keycode 43 =
|
||||
keycode 44 = z
|
||||
keycode 45 = x
|
||||
keycode 46 = c
|
||||
keycode 47 = v
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = underscore
|
||||
keycode 49 = n
|
||||
keycode 50 = m
|
||||
keycode 51 = comma slash
|
||||
altgr keycode 51 = less
|
||||
keycode 52 = period question
|
||||
altgr keycode 52 = greater
|
||||
keycode 53 =
|
||||
keycode 54 = Shift
|
||||
keycode 55 =
|
||||
keycode 56 = Alt
|
||||
keycode 57 = space space
|
||||
control keycode 57 = nul
|
||||
keycode 59 = F9
|
||||
keycode 60 = F10
|
||||
keycode 61 = AltGr
|
||||
keycode 62 = Escape
|
||||
keycode 63 = Return
|
||||
keycode 64 = Escape
|
||||
keycode 65 = Down
|
||||
keycode 66 = Up
|
||||
keycode 67 = Control
|
||||
keycode 68 = F13
|
||||
keycode 79 = F15
|
||||
keycode 80 = F16
|
||||
keycode 82 = F17
|
||||
keycode 87 = Return
|
||||
keycode 88 = F11
|
||||
keycode 97 = Control
|
||||
keycode 99 = F12
|
||||
keycode 103 = Up
|
||||
altgr keycode 103 = PageUp
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Decr_Console
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = Incr_Console
|
||||
keycode 108 = Down
|
||||
altgr keycode 108 = PageDown
|
||||
string F1 = "\033[[A"
|
||||
string F2 = "\033[[B"
|
||||
string F3 = "\033[[C"
|
||||
string F4 = "\033[[D"
|
||||
string F5 = "\033[[E"
|
||||
string F6 = "\033[17~"
|
||||
string F7 = "\033[18~"
|
||||
string F8 = "\033[19~"
|
||||
string F9 = "\033[20~"
|
||||
string F10 = "\033[21~"
|
||||
string F11 = "\033[23~"
|
||||
string F12 = "\033[24~"
|
||||
string F13 = "\033[25~"
|
||||
string F14 = "\033[26~"
|
||||
string F15 = "\033[28~"
|
||||
string F16 = "\033[29~"
|
||||
string F17 = "\033[31~"
|
||||
string F18 = "\033[32~"
|
||||
string F19 = "\033[33~"
|
||||
string F20 = "\033[34~"
|
||||
string Find = "\033[1~"
|
||||
string Insert = "\033[2~"
|
||||
string Remove = "\033[3~"
|
||||
string Select = "\033[4~"
|
||||
string Prior = "\033[5~"
|
||||
string Next = "\033[6~"
|
||||
string Macro = "\033[M"
|
||||
string Pause = "\033[P"
|
||||
compose '`' 'A' to '<27>'
|
||||
compose '`' 'a' to '<27>'
|
||||
compose '\'' 'A' to '<27>'
|
||||
compose '\'' 'a' to '<27>'
|
||||
compose '^' 'A' to '<27>'
|
||||
compose '^' 'a' to '<27>'
|
||||
compose '~' 'A' to '<27>'
|
||||
compose '~' 'a' to '<27>'
|
||||
compose '"' 'A' to '<27>'
|
||||
compose '"' 'a' to '<27>'
|
||||
compose 'O' 'A' to '<27>'
|
||||
compose 'o' 'a' to '<27>'
|
||||
compose '0' 'A' to '<27>'
|
||||
compose '0' 'a' to '<27>'
|
||||
compose 'A' 'A' to '<27>'
|
||||
compose 'a' 'a' to '<27>'
|
||||
compose 'A' 'E' to '<27>'
|
||||
compose 'a' 'e' to '<27>'
|
||||
compose ',' 'C' to '<27>'
|
||||
compose ',' 'c' to '<27>'
|
||||
compose '`' 'E' to '<27>'
|
||||
compose '`' 'e' to '<27>'
|
||||
compose '\'' 'E' to '<27>'
|
||||
compose '\'' 'e' to '<27>'
|
||||
compose '^' 'E' to '<27>'
|
||||
compose '^' 'e' to '<27>'
|
||||
compose '"' 'E' to '<27>'
|
||||
compose '"' 'e' to '<27>'
|
||||
compose '`' 'I' to '<27>'
|
||||
compose '`' 'i' to '<27>'
|
||||
compose '\'' 'I' to '<27>'
|
||||
compose '\'' 'i' to '<27>'
|
||||
compose '^' 'I' to '<27>'
|
||||
compose '^' 'i' to '<27>'
|
||||
compose '"' 'I' to '<27>'
|
||||
compose '"' 'i' to '<27>'
|
||||
compose '-' 'D' to '<27>'
|
||||
compose '-' 'd' to '<27>'
|
||||
compose '~' 'N' to '<27>'
|
||||
compose '~' 'n' to '<27>'
|
||||
compose '`' 'O' to '<27>'
|
||||
compose '`' 'o' to '<27>'
|
||||
compose '\'' 'O' to '<27>'
|
||||
compose '\'' 'o' to '<27>'
|
||||
compose '^' 'O' to '<27>'
|
||||
compose '^' 'o' to '<27>'
|
||||
compose '~' 'O' to '<27>'
|
||||
compose '~' 'o' to '<27>'
|
||||
compose '"' 'O' to '<27>'
|
||||
compose '"' 'o' to '<27>'
|
||||
compose '/' 'O' to '<27>'
|
||||
compose '/' 'o' to '<27>'
|
||||
compose '`' 'U' to '<27>'
|
||||
compose '`' 'u' to '<27>'
|
||||
compose '\'' 'U' to '<27>'
|
||||
compose '\'' 'u' to '<27>'
|
||||
compose '^' 'U' to '<27>'
|
||||
compose '^' 'u' to '<27>'
|
||||
compose '"' 'U' to '<27>'
|
||||
compose '"' 'u' to '<27>'
|
||||
compose '\'' 'Y' to '<27>'
|
||||
compose '\'' 'y' to '<27>'
|
||||
compose 'T' 'H' to '<27>'
|
||||
compose 't' 'h' to '<27>'
|
||||
compose 's' 's' to '<27>'
|
||||
compose '"' 'y' to '<27>'
|
||||
compose 's' 'z' to '<27>'
|
||||
compose 'i' 'j' to '<27>'
|
||||
46
openembedded/packages/initscripts/initscripts-1.0/checkfs.sh
vendored
Executable file
46
openembedded/packages/initscripts/initscripts-1.0/checkfs.sh
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
#
|
||||
# checkfs.sh Check all filesystems.
|
||||
#
|
||||
# Version: @(#)checkfs 2.83 05-Oct-2001 miquels@cistron.nl
|
||||
#
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
#
|
||||
# Check the rest of the filesystems.
|
||||
#
|
||||
if test ! -f /fastboot
|
||||
then
|
||||
if test -f /forcefsck
|
||||
then
|
||||
force="-f"
|
||||
else
|
||||
force=""
|
||||
fi
|
||||
if test "$FSCKFIX" = yes
|
||||
then
|
||||
fix="-y"
|
||||
else
|
||||
fix="-a"
|
||||
fi
|
||||
spinner="-C"
|
||||
case "$TERM" in
|
||||
dumb|network|unknown|"") spinner="" ;;
|
||||
esac
|
||||
test "`uname -m`" = "s390" && spinner="" # This should go away
|
||||
test "$VERBOSE" != no && echo "Checking all filesystems..."
|
||||
fsck $spinner -R -A $fix $force
|
||||
if test "$?" -gt 1
|
||||
then
|
||||
echo
|
||||
echo "fsck failed. Please repair manually."
|
||||
echo
|
||||
echo "CONTROL-D will exit from this shell and continue system startup."
|
||||
echo
|
||||
# Start a single user shell on the console
|
||||
/sbin/sulogin $CONSOLE
|
||||
fi
|
||||
fi
|
||||
rm -f /fastboot /forcefsck
|
||||
|
||||
: exit 0
|
||||
165
openembedded/packages/initscripts/initscripts-1.0/checkroot.sh
vendored
Executable file
165
openembedded/packages/initscripts/initscripts-1.0/checkroot.sh
vendored
Executable file
@@ -0,0 +1,165 @@
|
||||
#
|
||||
# checkroot.sh Check to root filesystem.
|
||||
#
|
||||
# Version: @(#)checkroot.sh 2.84 25-Jan-2002 miquels@cistron.nl
|
||||
#
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
#
|
||||
# Set SULOGIN in /etc/default/rcS to yes if you want a sulogin to be spawned
|
||||
# from this script *before anything else* with a timeout, like SCO does.
|
||||
#
|
||||
test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
|
||||
|
||||
#
|
||||
# Ensure that bdflush (update) is running before any major I/O is
|
||||
# performed (the following fsck is a good example of such activity :).
|
||||
#
|
||||
test -x /sbin/update && update
|
||||
|
||||
#
|
||||
# Read /etc/fstab.
|
||||
#
|
||||
exec 9>&0 </etc/fstab
|
||||
rootmode=rw
|
||||
rootopts=rw
|
||||
rootcheck=no
|
||||
swap_on_md=no
|
||||
devfs=
|
||||
while read fs mnt type opts dump pass junk
|
||||
do
|
||||
case "$fs" in
|
||||
""|\#*)
|
||||
continue;
|
||||
;;
|
||||
/dev/md*)
|
||||
# Swap on md device.
|
||||
test "$type" = swap && swap_on_md=yes
|
||||
;;
|
||||
/dev/*)
|
||||
;;
|
||||
*)
|
||||
# Might be a swapfile.
|
||||
test "$type" = swap && swap_on_md=yes
|
||||
;;
|
||||
esac
|
||||
test "$type" = devfs && devfs="$fs"
|
||||
test "$mnt" != / && continue
|
||||
rootopts="$opts"
|
||||
test "$pass" = 0 -o "$pass" = "" && rootcheck=no
|
||||
case "$opts" in
|
||||
ro|ro,*|*,ro|*,ro,*)
|
||||
rootmode=ro
|
||||
;;
|
||||
esac
|
||||
done
|
||||
exec 0>&9 9>&-
|
||||
|
||||
#
|
||||
# Activate the swap device(s) in /etc/fstab. This needs to be done
|
||||
# before fsck, since fsck can be quite memory-hungry.
|
||||
#
|
||||
doswap=no
|
||||
test -d /proc/1 || mount -n /proc
|
||||
case "`uname -r`" in
|
||||
2.[0123].*)
|
||||
if test $swap_on_md = yes && grep -qs resync /proc/mdstat
|
||||
then
|
||||
test "$VERBOSE" != no && echo "Not activating swap - RAID array resyncing"
|
||||
else
|
||||
doswap=yes
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
doswap=yes
|
||||
;;
|
||||
esac
|
||||
if test $doswap = yes
|
||||
then
|
||||
test "$VERBOSE" != no && echo "Activating swap"
|
||||
swapon -a 2> /dev/null
|
||||
fi
|
||||
|
||||
#
|
||||
# Check the root filesystem.
|
||||
#
|
||||
if test -f /fastboot || test $rootcheck = no
|
||||
then
|
||||
test $rootcheck = yes && echo "Fast boot, no filesystem check"
|
||||
else
|
||||
#
|
||||
# Ensure that root is quiescent and read-only before fsck'ing.
|
||||
#
|
||||
mount -n -o remount,ro /
|
||||
if test $? = 0
|
||||
then
|
||||
if test -f /forcefsck
|
||||
then
|
||||
force="-f"
|
||||
else
|
||||
force=""
|
||||
fi
|
||||
if test "$FSCKFIX" = yes
|
||||
then
|
||||
fix="-y"
|
||||
else
|
||||
fix="-a"
|
||||
fi
|
||||
spinner="-C"
|
||||
case "$TERM" in
|
||||
dumb|network|unknown|"") spinner="" ;;
|
||||
esac
|
||||
test `uname -m` = s390 && spinner="" # This should go away
|
||||
test "$VERBOSE" != no && echo "Checking root filesystem..."
|
||||
fsck $spinner $force $fix /
|
||||
#
|
||||
# If there was a failure, drop into single-user mode.
|
||||
#
|
||||
# NOTE: "failure" is defined as exiting with a return code of
|
||||
# 2 or larger. A return code of 1 indicates that filesystem
|
||||
# errors were corrected but that the boot may proceed.
|
||||
#
|
||||
if test "$?" -gt 1
|
||||
then
|
||||
# Surprise! Re-directing from a HERE document (as in
|
||||
# "cat << EOF") won't work, because the root is read-only.
|
||||
echo
|
||||
echo "fsck failed. Please repair manually and reboot. Please note"
|
||||
echo "that the root filesystem is currently mounted read-only. To"
|
||||
echo "remount it read-write:"
|
||||
echo
|
||||
echo " # mount -n -o remount,rw /"
|
||||
echo
|
||||
echo "CONTROL-D will exit from this shell and REBOOT the system."
|
||||
echo
|
||||
# Start a single user shell on the console
|
||||
/sbin/sulogin $CONSOLE
|
||||
reboot -f
|
||||
fi
|
||||
else
|
||||
echo "*** ERROR! Cannot fsck root fs because it is not mounted read-only!"
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# If the root filesystem was not marked as read-only in /etc/fstab,
|
||||
# remount the rootfs rw but do not try to change mtab because it
|
||||
# is on a ro fs until the remount succeeded. Then clean up old mtabs
|
||||
# and finally write the new mtab.
|
||||
#
|
||||
mount -n -o remount,$rootmode /
|
||||
if test "$rootmode" = rw
|
||||
then
|
||||
if test ! -L /etc/mtab
|
||||
then
|
||||
rm -f /etc/mtab~ /etc/nologin
|
||||
: > /etc/mtab
|
||||
fi
|
||||
mount -f -o remount /
|
||||
mount -f /proc
|
||||
test "$devfs" && grep -q '^devfs /dev' /proc/mounts && mount -f "$devfs"
|
||||
fi
|
||||
|
||||
: exit 0
|
||||
67
openembedded/packages/initscripts/initscripts-1.0/collie/devices
vendored
Executable file
67
openembedded/packages/initscripts/initscripts-1.0/collie/devices
vendored
Executable file
@@ -0,0 +1,67 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
179
openembedded/packages/initscripts/initscripts-1.0/device_table.txt
vendored
Normal file
179
openembedded/packages/initscripts/initscripts-1.0/device_table.txt
vendored
Normal file
@@ -0,0 +1,179 @@
|
||||
#/dev/ d 775 0 0 - - - - -
|
||||
#/dev/msys d 775 0 0 - - - - -
|
||||
#/dev/pts d 775 0 0 - - - - -
|
||||
#/var d 775 0 0 - - - - -
|
||||
/boot/var/empty d 755 0 3 - - - -
|
||||
/dev/apm_bios c 660 0 46 10 134 - - -
|
||||
/dev/audio c 660 0 29 14 4 - - -
|
||||
/dev/audio1 c 660 0 29 14 20 - - -
|
||||
/dev/audio2 c 660 0 29 14 36 - - -
|
||||
/dev/audio3 c 660 0 29 14 52 - - -
|
||||
/dev/bty c 644 0 0 60 0 0 1 5
|
||||
/dev/sharp_fl c 640 0 44 254 0 - - -
|
||||
/dev/console c 660 0 5 5 1 - -
|
||||
/dev/cusa0 c 640 0 0 205 5 - - -
|
||||
/dev/cusa1 c 640 0 0 205 6 - - -
|
||||
/dev/cusa2 c 640 0 0 205 7 - - -
|
||||
/dev/dsp c 660 0 29 14 3 - - -
|
||||
/dev/dsp1 c 660 0 29 14 19 - - -
|
||||
/dev/dsp2 c 660 0 29 14 35 - - -
|
||||
/dev/dsp3 c 660 0 29 14 51 - - -
|
||||
/dev/fb c 660 0 44 29 0 0 32 2
|
||||
/dev/fb0autodetect c 660 0 44 29 1 - - -
|
||||
/dev/fb0current c 660 0 44 29 0 - - -
|
||||
#/dev/fb1 c 660 0 44 29 32 - - -
|
||||
/dev/fb1autodetect c 660 0 44 29 33 - - -
|
||||
/dev/fb1current c 660 0 44 29 32 - - -
|
||||
/dev/full c 666 0 7 - - -
|
||||
/dev/hda b 660 0 6 3 0 - - -
|
||||
/dev/hda b 660 0 6 3 1 1 1 20
|
||||
/dev/hdb b 660 0 6 3 64 - - -
|
||||
/dev/hdb b 660 0 6 3 65 1 1 20
|
||||
/dev/hdc b 660 0 6 22 0 - - -
|
||||
/dev/hdc b 660 0 6 22 1 1 1 20
|
||||
/dev/initctl p 600 0 0 - - - -
|
||||
/dev/i2c0 c 660 0 0 89 0 - - -
|
||||
/dev/inportbm c 660 0 0 10 2 - - -
|
||||
/dev/input/event c 660 0 0 13 64 0 1 20
|
||||
/dev/ircomm0 c 640 0 0 161 0 - - -
|
||||
/dev/jbm c 660 0 0 10 4 - - -
|
||||
/dev/kmem c 640 0 15 1 2 - - -
|
||||
/dev/lirc c 660 0 5 61 0 - - -
|
||||
/dev/logibm c 660 0 0 10 0 - - -
|
||||
/dev/loop0 b 660 0 11 7 0 - - -
|
||||
/dev/loop1 b 660 0 11 7 1 - - -
|
||||
/dev/mem c 640 0 15 1 1 - - -
|
||||
/dev/mixer c 666 0 0 14 0 - - -
|
||||
/dev/mixer1 c 666 0 0 14 16 - - -
|
||||
/dev/mixer2 c 666 0 0 14 32 - - -
|
||||
/dev/mixer3 c 666 0 0 14 48 - - -
|
||||
/dev/mmcda b 640 0 0 60 0 - - -
|
||||
/dev/mmcda1 b 640 0 0 60 1 - - -
|
||||
/dev/mmcda2 b 640 0 0 60 2 - - -
|
||||
/dev/msys/fla b 660 0 11 100 0 - - -
|
||||
/dev/msys/fla1 b 660 0 11 100 1 - - -
|
||||
/dev/msys/fla2 b 660 0 11 100 2 - - -
|
||||
/dev/msys/fla3 b 660 0 11 100 3 - - -
|
||||
/dev/msys/fla4 b 660 0 11 100 4 - - -
|
||||
/dev/msys/flb b 660 0 11 100 64 - - -
|
||||
/dev/msys/flb1 b 660 0 11 100 65 - - -
|
||||
/dev/msys/flb2 b 660 0 11 100 66 - - -
|
||||
/dev/msys/flb3 b 660 0 11 100 67 - - -
|
||||
/dev/msys/flb4 b 660 0 11 100 68 - - -
|
||||
/dev/mtd c 660 0 6 90 0 0 2 8
|
||||
/dev/mtdblock b 640 0 0 31 0 0 1 8
|
||||
/dev/nst0 c 664 0 11 9 128 - - -
|
||||
/dev/nst0a c 664 0 11 9 224 - - -
|
||||
/dev/nst0l c 664 0 11 9 160 - - -
|
||||
/dev/nst0m c 664 0 11 9 192 - - -
|
||||
/dev/nst1 c 664 0 11 9 129 - - -
|
||||
/dev/nst1a c 664 0 11 9 225 - - -
|
||||
/dev/nst1l c 664 0 11 9 161 - - -
|
||||
/dev/nst1m c 664 0 11 9 193 - - -
|
||||
/dev/null c 666 0 0 1 3 - - -
|
||||
/dev/par0 c 660 0 7 6 0 - - -
|
||||
/dev/par1 c 660 0 7 6 1 - - -
|
||||
/dev/par2 c 660 0 7 6 2 - - -
|
||||
/dev/port c 640 0 15 1 4 - - -
|
||||
/dev/ppp c 640 0 0 108 0 - - -
|
||||
/dev/psaux c 660 0 0 10 1 - - -
|
||||
/dev/ptmx c 666 0 5 5 2 - - -
|
||||
/dev/ptya0 c 660 0 5 2 176 - - -
|
||||
/dev/ptya1 c 660 0 5 2 177 - - -
|
||||
/dev/ptya2 c 660 0 5 2 178 - - -
|
||||
/dev/ptya3 c 660 0 5 2 179 - - -
|
||||
/dev/ptya4 c 660 0 5 2 180 - - -
|
||||
/dev/ptya5 c 660 0 5 2 181 - - -
|
||||
/dev/ptya6 c 660 0 5 2 182 - - -
|
||||
/dev/ptya7 c 660 0 5 2 183 - - -
|
||||
/dev/ptya8 c 660 0 5 2 184 - - -
|
||||
/dev/ptya9 c 660 0 5 2 185 - - -
|
||||
/dev/ptyaa c 660 0 5 2 186 - - -
|
||||
/dev/ptyab c 660 0 5 2 187 - - -
|
||||
/dev/ptyac c 660 0 5 2 188 - - -
|
||||
/dev/ptyad c 660 0 5 2 189 - - -
|
||||
/dev/ptyae c 660 0 5 2 190 - - -
|
||||
/dev/ptyaf c 660 0 5 2 191 - - -
|
||||
/dev/ram b 640 0 0 1 0 0 1 4
|
||||
/dev/random c 444 0 0 1 8 - - -
|
||||
/dev/rfcomm0 c 660 0 0 216 0 - - -
|
||||
/dev/rfcomm1 c 660 0 0 216 1 - - -
|
||||
/dev/rfcomm2 c 660 0 0 216 2 - - -
|
||||
/dev/rfcomm3 c 660 0 0 216 3 - - -
|
||||
/dev/rfcomm4 c 660 0 0 216 4 - - -
|
||||
/dev/rfcomm5 c 660 0 0 216 5 - - -
|
||||
/dev/rfcomm6 c 660 0 0 216 6 - - -
|
||||
/dev/rfcomm7 c 660 0 0 216 7 - - -
|
||||
/dev/rfcomm8 c 660 0 0 216 8 - - -
|
||||
/dev/rfcomm9 c 660 0 0 216 9 - - -
|
||||
/dev/rfcomm10 c 660 0 0 216 10 - - -
|
||||
/dev/rfcomm11 c 660 0 0 216 11 - - -
|
||||
/dev/rfcomm12 c 660 0 0 216 12 - - -
|
||||
/dev/rfcomm13 c 660 0 0 216 13 - - -
|
||||
/dev/rfcomm14 c 660 0 0 216 14 - - -
|
||||
/dev/rfcomm15 c 660 0 0 216 15 - - -
|
||||
/dev/rmidi0 c 660 0 0 35 64 - - -
|
||||
/dev/rmidi1 c 660 0 0 35 65 - - -
|
||||
/dev/rmidi2 c 660 0 0 35 66 - - -
|
||||
/dev/rmidi3 c 660 0 0 35 67 - - -
|
||||
/dev/rtc c 660 0 47 10 135 - - -
|
||||
/dev/scd0 b 660 0 6 11 0 - - -
|
||||
/dev/scd1 b 660 0 6 11 1 - - -
|
||||
/dev/sda b 660 0 6 8 0 - - -
|
||||
/dev/sda1 b 660 0 6 8 1 - - -
|
||||
/dev/sda2 b 660 0 6 8 2 - - -
|
||||
/dev/sda3 b 660 0 6 8 3 - - -
|
||||
/dev/sda4 b 660 0 6 8 4 - - -
|
||||
/dev/sda5 b 660 0 6 8 5 - - -
|
||||
/dev/sda6 b 660 0 6 8 6 - - -
|
||||
/dev/sda7 b 660 0 6 8 7 - - -
|
||||
/dev/sda8 b 660 0 6 8 8 - - -
|
||||
/dev/sda9 b 660 0 6 8 9 - - -
|
||||
/dev/sdb b 660 0 6 8 16 - - -
|
||||
/dev/sdb1 b 660 0 6 8 17 - - -
|
||||
/dev/sdb2 b 660 0 6 8 18 - - -
|
||||
/dev/sdb3 b 660 0 6 8 19 - - -
|
||||
/dev/sdb4 b 660 0 6 8 20 - - -
|
||||
/dev/sdb5 b 660 0 6 8 21 - - -
|
||||
/dev/sdb6 b 660 0 6 8 22 - - -
|
||||
/dev/sdb7 b 660 0 6 8 23 - - -
|
||||
/dev/sdb8 b 660 0 6 8 24 - - -
|
||||
/dev/sdb9 b 660 0 6 8 25 - - -
|
||||
/dev/sdc b 660 0 6 8 32 - - -
|
||||
/dev/sdc1 b 660 0 6 8 33 - - -
|
||||
/dev/sdc2 b 660 0 6 8 34 - - -
|
||||
/dev/sdc3 b 660 0 6 8 35 - - -
|
||||
/dev/sdc4 b 660 0 6 8 36 - - -
|
||||
/dev/sdc5 b 660 0 6 8 37 - - -
|
||||
/dev/sdc6 b 660 0 6 8 38 - - -
|
||||
/dev/sdc7 b 660 0 6 8 39 - - -
|
||||
/dev/sdc8 b 660 0 6 8 40 - - -
|
||||
/dev/sdc9 b 660 0 6 8 41 - - -
|
||||
/dev/sd_slotstat c 660 0 6 10 240 - - -
|
||||
/dev/sharp_audioctl c 660 0 29 10 213 - - -
|
||||
/dev/sharp_buz c 660 0 29 10 211 - - -
|
||||
/dev/sharp_kbdctl c 660 0 45 10 214 - - -
|
||||
/dev/sharp_led c 660 0 48 10 210 - - -
|
||||
/dev/sharp_ts c 640 0 45 11 0 - - -
|
||||
/dev/smtpe0 c 640 0 0 35 128 - - -
|
||||
/dev/smtpe1 c 640 0 0 35 129 - - -
|
||||
/dev/smtpe2 c 640 0 0 35 130 - - -
|
||||
/dev/smtpe3 c 640 0 0 35 131 - - -
|
||||
/dev/sndstat c 660 0 29 14 6 - - -
|
||||
/dev/st0 c 660 0 11 9 0 - - -
|
||||
/dev/st0a c 660 0 11 9 96 - - -
|
||||
/dev/st0l c 660 0 11 9 32 - - -
|
||||
/dev/st0m c 660 0 11 9 64 - - -
|
||||
/dev/st1 c 660 0 11 9 1 - - -
|
||||
/dev/st1a c 660 0 11 9 97 - - -
|
||||
/dev/st1l c 660 0 11 9 33 - - -
|
||||
/dev/st1m c 660 0 11 9 65 - - -
|
||||
/dev/tty c 664 0 5 5 0 - - -
|
||||
/dev/tty c 666 0 5 4 0 0 1 9
|
||||
/dev/ttyS c 640 0 5 4 64 0 1 4
|
||||
/dev/ttySA c 640 0 5 204 5 0 1 4
|
||||
/dev/ttyUSB c 660 0 5 188 0 0 1 2
|
||||
/dev/urandom c 644 0 0 1 9 - - -
|
||||
/dev/usbmouse c 640 0 45 10 32 - - -
|
||||
/dev/zero c 644 0 0 1 5 - - -
|
||||
/dev/input/mice c 660 0 0 13 63 - - -
|
||||
66
openembedded/packages/initscripts/initscripts-1.0/devices
vendored
Executable file
66
openembedded/packages/initscripts/initscripts-1.0/devices
vendored
Executable file
@@ -0,0 +1,66 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
5
openembedded/packages/initscripts/initscripts-1.0/devpts
vendored
Normal file
5
openembedded/packages/initscripts/initscripts-1.0/devpts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# GID of the `tty' group
|
||||
TTYGRP=5
|
||||
|
||||
# Set to 600 to have `mesg n' be the default
|
||||
TTYMODE=620
|
||||
28
openembedded/packages/initscripts/initscripts-1.0/devpts.sh
vendored
Executable file
28
openembedded/packages/initscripts/initscripts-1.0/devpts.sh
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#! /bin/sh
|
||||
|
||||
. /etc/default/devpts
|
||||
|
||||
test "`uname -s`" = "Linux" || exit 0
|
||||
|
||||
#
|
||||
# First find out if devpts is available. Also check if devfs
|
||||
# is already mounted - in that case we don't want to use devpts.
|
||||
#
|
||||
if test ! -e /dev/.devfsd && ( grep -q devpts /proc/filesystems )
|
||||
then
|
||||
#
|
||||
# Create multiplexor device.
|
||||
#
|
||||
test -c /dev/ptmx || mknod -m 666 /dev/ptmx c 5 2
|
||||
|
||||
#
|
||||
# Mount /dev/pts if needed.
|
||||
#
|
||||
if ( ! grep -q devpts /proc/mounts )
|
||||
then
|
||||
mkdir -p /dev/pts
|
||||
mount -t devpts devpts /dev/pts -ogid=${TTYGRP},mode=${TTYMODE}
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
6
openembedded/packages/initscripts/initscripts-1.0/finish
vendored
Executable file
6
openembedded/packages/initscripts/initscripts-1.0/finish
vendored
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! test -e /etc/.configured; then
|
||||
> /etc/.configured
|
||||
fi
|
||||
|
||||
37
openembedded/packages/initscripts/initscripts-1.0/h3600/devices
vendored
Executable file
37
openembedded/packages/initscripts/initscripts-1.0/h3600/devices
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
|
||||
(
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
ln -s /dev/misc/apm_bios /dev/apm_bios
|
||||
|
||||
## need this so that ppp will autoload the ppp modules
|
||||
mknod /dev/ppp c 108 0
|
||||
) > /dev/null 2>&1
|
||||
|
||||
|
||||
test -n "$VERBOSE" && echo "done"
|
||||
37
openembedded/packages/initscripts/initscripts-1.0/h3900/devices
vendored
Executable file
37
openembedded/packages/initscripts/initscripts-1.0/h3900/devices
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
|
||||
(
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
ln -s /dev/misc/apm_bios /dev/apm_bios
|
||||
|
||||
## need this so that ppp will autoload the ppp modules
|
||||
mknod /dev/ppp c 108 0
|
||||
) > /dev/null 2>&1
|
||||
|
||||
|
||||
test -n "$VERBOSE" && echo "done"
|
||||
31
openembedded/packages/initscripts/initscripts-1.0/halt
vendored
Executable file
31
openembedded/packages/initscripts/initscripts-1.0/halt
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# halt Execute the halt command.
|
||||
#
|
||||
# Version: @(#)halt 2.84-2 07-Jan-2002 miquels@cistron.nl
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Update the timestamp, if there is already one
|
||||
if test -e /etc/timestamp
|
||||
then
|
||||
date +%2m%2d%2H%2M%Y > /etc/timestamp
|
||||
fi
|
||||
|
||||
# See if we need to cut the power.
|
||||
if test -x /etc/init.d/ups-monitor
|
||||
then
|
||||
/etc/init.d/ups-monitor poweroff
|
||||
fi
|
||||
|
||||
# Don't shut down drives if we're using RAID.
|
||||
hddown="-h"
|
||||
if grep -qs '^md.*active' /proc/mdstat
|
||||
then
|
||||
hddown=""
|
||||
fi
|
||||
|
||||
halt -d -f -i -p $hddown
|
||||
|
||||
: exit 0
|
||||
11
openembedded/packages/initscripts/initscripts-1.0/hostname.sh
vendored
Executable file
11
openembedded/packages/initscripts/initscripts-1.0/hostname.sh
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# hostname.sh Set hostname.
|
||||
#
|
||||
# Version: @(#)hostname.sh 1.10 26-Feb-2001 miquels@cistron.nl
|
||||
#
|
||||
|
||||
if test -f /etc/hostname
|
||||
then
|
||||
hostname -F /etc/hostname
|
||||
fi
|
||||
|
||||
37
openembedded/packages/initscripts/initscripts-1.0/jornada56x/devices
vendored
Executable file
37
openembedded/packages/initscripts/initscripts-1.0/jornada56x/devices
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
|
||||
(
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
ln -s /dev/misc/apm_bios /dev/apm_bios
|
||||
|
||||
## need this so that ppp will autoload the ppp modules
|
||||
mknod /dev/ppp c 108 0
|
||||
) > /dev/null 2>&1
|
||||
|
||||
|
||||
test -n "$VERBOSE" && echo "done"
|
||||
70
openembedded/packages/initscripts/initscripts-1.0/jornada6xx/devices
vendored
Normal file
70
openembedded/packages/initscripts/initscripts-1.0/jornada6xx/devices
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
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/ttySC1 c 9 204
|
||||
mknod /dev/irda0 c 10 204
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
37
openembedded/packages/initscripts/initscripts-1.0/jornada7xx/devices
vendored
Executable file
37
openembedded/packages/initscripts/initscripts-1.0/jornada7xx/devices
vendored
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
|
||||
(
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
ln -s /dev/misc/apm_bios /dev/apm_bios
|
||||
|
||||
## need this so that ppp will autoload the ppp modules
|
||||
mknod /dev/ppp c 108 0
|
||||
) > /dev/null 2>&1
|
||||
|
||||
|
||||
test -n "$VERBOSE" && echo "done"
|
||||
8
openembedded/packages/initscripts/initscripts-1.0/keymap
vendored
Executable file
8
openembedded/packages/initscripts/initscripts-1.0/keymap
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# load keymap, if existing
|
||||
|
||||
KERNEL_MAJMIN=`uname -r | cut -d '.' -f 1,2`
|
||||
if [ -e /etc/keymap-$KERNEL_MAJMIN.map ]; then
|
||||
loadkeys /etc/keymap-$KERNEL_MAJMIN.map
|
||||
fi
|
||||
45
openembedded/packages/initscripts/initscripts-1.0/mountall.sh
vendored
Executable file
45
openembedded/packages/initscripts/initscripts-1.0/mountall.sh
vendored
Executable file
@@ -0,0 +1,45 @@
|
||||
#
|
||||
# mountall.sh Mount all filesystems.
|
||||
#
|
||||
# Version: @(#)mountall.sh 2.83-2 01-Nov-2001 miquels@cistron.nl
|
||||
#
|
||||
. /etc/default/rcS
|
||||
|
||||
#
|
||||
# Mount local filesystems in /etc/fstab. For some reason, people
|
||||
# might want to mount "proc" several times, and mount -v complains
|
||||
# about this. So we mount "proc" filesystems without -v.
|
||||
#
|
||||
test "$VERBOSE" != no && echo "Mounting local filesystems..."
|
||||
mount -at nonfs,nosmbfs,noncpfs 2>/dev/null
|
||||
|
||||
#
|
||||
# We might have mounted something over /dev, see if /dev/initctl is there.
|
||||
#
|
||||
if test ! -p /dev/initctl
|
||||
then
|
||||
rm -f /dev/initctl
|
||||
mknod -m 600 /dev/initctl p
|
||||
fi
|
||||
kill -USR1 1
|
||||
|
||||
#
|
||||
# Execute swapon command again, in case we want to swap to
|
||||
# a file on a now mounted filesystem.
|
||||
#
|
||||
doswap=yes
|
||||
case "`uname -r`" in
|
||||
2.[0123].*)
|
||||
if grep -qs resync /proc/mdstat
|
||||
then
|
||||
doswap=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test $doswap = yes
|
||||
then
|
||||
swapon -a 2> /dev/null
|
||||
fi
|
||||
|
||||
: exit 0
|
||||
|
||||
87
openembedded/packages/initscripts/initscripts-1.0/mountnfs.sh
vendored
Executable file
87
openembedded/packages/initscripts/initscripts-1.0/mountnfs.sh
vendored
Executable file
@@ -0,0 +1,87 @@
|
||||
#
|
||||
# mountnfs.sh Now that TCP/IP is configured, mount the NFS file
|
||||
# systems in /etc/fstab if needed. If possible,
|
||||
# start the portmapper before mounting (this is needed for
|
||||
# Linux 2.1.x and up).
|
||||
#
|
||||
# Also mounts SBM filesystems now, so the name of
|
||||
# this script is getting increasingly inaccurate.
|
||||
#
|
||||
# Version: @(#)mountnfs.sh 2.83 05-Oct-2001 miquels@cistron.nl
|
||||
#
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
#
|
||||
# Run in a subshell because of I/O redirection.
|
||||
#
|
||||
test -f /etc/fstab && (
|
||||
|
||||
#
|
||||
# Read through fstab line by line. If it is NFS, set the flag
|
||||
# for mounting NFS filesystems. If any NFS partition is found and it
|
||||
# not mounted with the nolock option, we start the portmapper.
|
||||
#
|
||||
portmap=no
|
||||
mount_nfs=no
|
||||
mount_smb=no
|
||||
mount_ncp=no
|
||||
while read device mountpt fstype options
|
||||
do
|
||||
case "$device" in
|
||||
""|\#*)
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$options" in
|
||||
*noauto*)
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$fstype" = nfs
|
||||
then
|
||||
mount_nfs=yes
|
||||
case "$options" in
|
||||
*nolock*)
|
||||
;;
|
||||
*)
|
||||
portmap=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if test "$fstype" = smbfs
|
||||
then
|
||||
mount_smb=yes
|
||||
fi
|
||||
if test "$fstype" = ncpfs
|
||||
then
|
||||
mount_ncp=yes
|
||||
fi
|
||||
done
|
||||
|
||||
exec 0>&1
|
||||
|
||||
if test "$portmap" = yes
|
||||
then
|
||||
if test -x /sbin/portmap
|
||||
then
|
||||
echo -n "Starting portmapper... "
|
||||
start-stop-daemon --start --quiet --exec /sbin/portmap
|
||||
sleep 2
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$mount_nfs" = yes || test "$mount_smb" = yes || test "$mount_ncp" = yes
|
||||
then
|
||||
echo "Mounting remote filesystems..."
|
||||
test "$mount_nfs" = yes && mount -a -t nfs
|
||||
test "$mount_smb" = yes && mount -a -t smbfs
|
||||
test "$mount_ncp" = yes && mount -a -t ncpfs
|
||||
fi
|
||||
|
||||
) < /etc/fstab
|
||||
|
||||
: exit 0
|
||||
|
||||
7
openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs
vendored
Executable file
7
openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs
vendored
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts)
|
||||
then
|
||||
test "$VERBOSE" != no && echo "Copying /var filesystem..."
|
||||
cp -a /boot/var /
|
||||
fi
|
||||
63
openembedded/packages/initscripts/initscripts-1.0/openmn/packages
vendored
Executable file
63
openembedded/packages/initscripts/initscripts-1.0/openmn/packages
vendored
Executable file
@@ -0,0 +1,63 @@
|
||||
#!/bin/sh
|
||||
# Original author: ???
|
||||
#
|
||||
# Additions by Steph Meslin-Weber:
|
||||
# x Percentage display
|
||||
# x Dot display of dependency installations
|
||||
# - removed both of above
|
||||
# - display is now X of Y packages and current package name being installed
|
||||
|
||||
#. /etc/default/rcS
|
||||
|
||||
reconfigure () {
|
||||
pkg=$1
|
||||
path=$2
|
||||
isdependent=$3
|
||||
test -e "$path/info/$pkg.control" || return 1
|
||||
depends="`cat $path/info/$pkg.control|grep Depends|cut -d: -f2`"
|
||||
|
||||
# make sure we haven't already installed this package
|
||||
isthere=`cat /tmp/.configured.list|grep $pkg`
|
||||
if test "$isthere" != ""; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
if test "$depends" != ""; then
|
||||
for dep in $depends; do
|
||||
(echo $log|grep $dep >/dev/null 2>&1) || ( reconfigure $dep $path "$max" "$pkg" && log="$log $dep"; )
|
||||
done
|
||||
fi
|
||||
|
||||
echo -ne " ${pkg}"
|
||||
|
||||
test -e "$path/info/$pkg.prerm" && $path/info/$pkg.prerm unconfigure >/dev/null 2>&1
|
||||
test -e "$path/info/$pkg.postinst" && $path/info/$pkg.postinst configure >/dev/null 2>&1
|
||||
|
||||
log="$log $pkg"
|
||||
|
||||
# append the installed package name to the list
|
||||
echo -ne "$pkg\n" >> /tmp/.configured.list
|
||||
|
||||
echo
|
||||
return 0
|
||||
}
|
||||
|
||||
if test ! -e /etc/.configured; then
|
||||
echo "Reconfiguring all packages installed to root:"
|
||||
|
||||
# create unique packages list file
|
||||
rm -f /tmp/.configured.list
|
||||
touch /tmp/.configured.list
|
||||
|
||||
log=""
|
||||
|
||||
for control in /usr/lib/ipkg/info/*.control; do
|
||||
package=`echo $control|sed -e 's,.*/,,g; s,\.control,,g;'`
|
||||
(echo $log|grep $package >/dev/null 2>&1) || reconfigure $package /usr/lib/ipkg
|
||||
done
|
||||
|
||||
# cleanup unique packages list file
|
||||
rm -f /tmp/.configured.list
|
||||
fi
|
||||
|
||||
test -f /usr/lib/ipkg/info/task-ramses || ipkg install task-ramses
|
||||
17
openembedded/packages/initscripts/initscripts-1.0/openmn/umountfs
vendored
Executable file
17
openembedded/packages/initscripts/initscripts-1.0/openmn/umountfs
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# umountfs Turn off swap and unmount all local filesystems.
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
echo "Deactivating swap..."
|
||||
swapoff -a
|
||||
|
||||
# We leave /proc mounted.
|
||||
echo "Unmounting local filesystems..."
|
||||
umount -f -a -r
|
||||
|
||||
mount -o remount,ro /
|
||||
|
||||
: exit 0
|
||||
20
openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
vendored
Normal file
20
openembedded/packages/initscripts/initscripts-1.0/openslug/alignment.sh
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# How to handle alignment faults on the ARM
|
||||
#
|
||||
# 0 - ignore, the value will probably be rotated
|
||||
# 1 - warn, a log message will be output
|
||||
# 2 - fixup, the kernel will do an expensive aligned read
|
||||
# 3 - fixup+warn
|
||||
# 4 - signal, the process will get an illegal instruction fault
|
||||
# 5 - signal+warn
|
||||
# 6 - invalid (has no effect)
|
||||
# 7 - invalid (has no effect)
|
||||
#
|
||||
# Set ALIGN in /etc/default/rcS to override (do not edit this
|
||||
# file!) Set ALIGN to empty to avoid changing the kernel
|
||||
# default (currently '0').
|
||||
ALIGN=1
|
||||
. /etc/default/rcS
|
||||
test -e /proc/cpu/alignment -a -n "$ALIGN" -a "$ALIGN" -ge 0 -a "$ALIGN" -lt 6 &&
|
||||
echo "$ALIGN" >/proc/cpu/alignment
|
||||
4
openembedded/packages/initscripts/initscripts-1.0/openslug/banner
vendored
Normal file
4
openembedded/packages/initscripts/initscripts-1.0/openslug/banner
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
#NOTE: this script may execute with absolutely nothing
|
||||
# in /dev
|
||||
echo "OpenSlug booting..."
|
||||
169
openembedded/packages/initscripts/initscripts-1.0/openslug/device_table.txt
vendored
Normal file
169
openembedded/packages/initscripts/initscripts-1.0/openslug/device_table.txt
vendored
Normal file
@@ -0,0 +1,169 @@
|
||||
#/dev/ d 775 0 0 - - - - -
|
||||
#/dev/msys d 775 0 0 - - - - -
|
||||
#/dev/pts d 775 0 0 - - - - -
|
||||
#/var d 775 0 0 - - - - -
|
||||
/boot/var/empty d 755 0 3 - - - -
|
||||
/dev/apm_bios c 660 0 46 10 134 - - -
|
||||
/dev/audio c 660 0 29 14 4 - - -
|
||||
/dev/audio1 c 660 0 29 14 20 - - -
|
||||
/dev/audio2 c 660 0 29 14 36 - - -
|
||||
/dev/audio3 c 660 0 29 14 52 - - -
|
||||
#/dev/bty c 644 0 0 60 0 0 1 5
|
||||
/dev/buzzer c 660 0 0 62 0 - - -
|
||||
#/dev/sharp_fl c 640 0 44 254 0 - - -
|
||||
/dev/console c 662 0 5 5 1 - -
|
||||
/dev/cusa0 c 640 0 0 205 5 - - -
|
||||
/dev/cusa1 c 640 0 0 205 6 - - -
|
||||
/dev/cusa2 c 640 0 0 205 7 - - -
|
||||
/dev/dsp c 660 0 29 14 3 - - -
|
||||
/dev/dsp1 c 660 0 29 14 19 - - -
|
||||
/dev/dsp2 c 660 0 29 14 35 - - -
|
||||
/dev/dsp3 c 660 0 29 14 51 - - -
|
||||
/dev/fb c 660 0 44 29 0 0 32 2
|
||||
/dev/fb0autodetect c 660 0 44 29 1 - - -
|
||||
/dev/fb0current c 660 0 44 29 0 - - -
|
||||
#/dev/fb1 c 660 0 44 29 32 - - -
|
||||
/dev/fb1autodetect c 660 0 44 29 33 - - -
|
||||
/dev/fb1current c 660 0 44 29 32 - - -
|
||||
/dev/full c 666 0 7 - - -
|
||||
/dev/hda b 660 0 6 3 0 - - -
|
||||
/dev/hda b 660 0 6 3 1 1 1 20
|
||||
/dev/hdb b 660 0 6 3 64 - - -
|
||||
/dev/hdb b 660 0 6 3 65 1 1 20
|
||||
/dev/hdc b 660 0 6 22 0 - - -
|
||||
/dev/hdc b 660 0 6 22 1 1 1 20
|
||||
/dev/initctl p 600 0 0 - - - -
|
||||
/dev/i2c0 c 660 0 0 89 0 - - -
|
||||
/dev/inportbm c 660 0 0 10 2 - - -
|
||||
/dev/input/event c 660 0 0 13 64 0 1 20
|
||||
/dev/ircomm0 c 640 0 0 161 0 - - -
|
||||
/dev/jbm c 660 0 0 10 4 - - -
|
||||
/dev/kmem c 640 0 15 1 2 - - -
|
||||
/dev/leds c 660 0 0 126 0 - - -
|
||||
#/dev/lirc c 660 0 5 61 0 - - -
|
||||
/dev/logibm c 660 0 0 10 0 - - -
|
||||
/dev/loop0 b 660 0 11 7 0 - - -
|
||||
/dev/loop1 b 660 0 11 7 1 - - -
|
||||
/dev/mem c 640 0 15 1 1 - - -
|
||||
/dev/mixer c 666 0 0 14 0 - - -
|
||||
/dev/mixer1 c 666 0 0 14 16 - - -
|
||||
/dev/mixer2 c 666 0 0 14 32 - - -
|
||||
/dev/mixer3 c 666 0 0 14 48 - - -
|
||||
/dev/mmcda b 640 0 0 60 0 - - -
|
||||
/dev/mmcda1 b 640 0 0 60 1 - - -
|
||||
/dev/mmcda2 b 640 0 0 60 2 - - -
|
||||
/dev/msys/fla b 660 0 11 100 0 - - -
|
||||
/dev/msys/fla1 b 660 0 11 100 1 - - -
|
||||
/dev/msys/fla2 b 660 0 11 100 2 - - -
|
||||
/dev/msys/fla3 b 660 0 11 100 3 - - -
|
||||
/dev/msys/fla4 b 660 0 11 100 4 - - -
|
||||
/dev/msys/flb b 660 0 11 100 64 - - -
|
||||
/dev/msys/flb1 b 660 0 11 100 65 - - -
|
||||
/dev/msys/flb2 b 660 0 11 100 66 - - -
|
||||
/dev/msys/flb3 b 660 0 11 100 67 - - -
|
||||
/dev/msys/flb4 b 660 0 11 100 68 - - -
|
||||
/dev/mtd c 660 0 6 90 0 0 2 8
|
||||
/dev/mtdblock b 640 0 0 31 0 0 1 8
|
||||
/dev/nst0 c 664 0 11 9 128 - - -
|
||||
/dev/nst0a c 664 0 11 9 224 - - -
|
||||
/dev/nst0l c 664 0 11 9 160 - - -
|
||||
/dev/nst0m c 664 0 11 9 192 - - -
|
||||
/dev/nst1 c 664 0 11 9 129 - - -
|
||||
/dev/nst1a c 664 0 11 9 225 - - -
|
||||
/dev/nst1l c 664 0 11 9 161 - - -
|
||||
/dev/nst1m c 664 0 11 9 193 - - -
|
||||
/dev/null c 666 0 0 1 3 - - -
|
||||
/dev/par0 c 660 0 7 6 0 - - -
|
||||
/dev/par1 c 660 0 7 6 1 - - -
|
||||
/dev/par2 c 660 0 7 6 2 - - -
|
||||
/dev/pbuttons c 660 0 0 61 0 - - -
|
||||
/dev/port c 640 0 15 1 4 - - -
|
||||
/dev/ppp c 640 0 0 108 0 - - -
|
||||
/dev/psaux c 660 0 0 10 1 - - -
|
||||
/dev/ptmx c 666 0 5 5 2 - - -
|
||||
/dev/ptya0 c 660 0 5 2 176 - - -
|
||||
/dev/ptya1 c 660 0 5 2 177 - - -
|
||||
/dev/ptya2 c 660 0 5 2 178 - - -
|
||||
/dev/ptya3 c 660 0 5 2 179 - - -
|
||||
/dev/ptya4 c 660 0 5 2 180 - - -
|
||||
/dev/ptya5 c 660 0 5 2 181 - - -
|
||||
/dev/ptya6 c 660 0 5 2 182 - - -
|
||||
/dev/ptya7 c 660 0 5 2 183 - - -
|
||||
/dev/ptya8 c 660 0 5 2 184 - - -
|
||||
/dev/ptya9 c 660 0 5 2 185 - - -
|
||||
/dev/ptyaa c 660 0 5 2 186 - - -
|
||||
/dev/ptyab c 660 0 5 2 187 - - -
|
||||
/dev/ptyac c 660 0 5 2 188 - - -
|
||||
/dev/ptyad c 660 0 5 2 189 - - -
|
||||
/dev/ptyae c 660 0 5 2 190 - - -
|
||||
/dev/ptyaf c 660 0 5 2 191 - - -
|
||||
/dev/ram b 640 0 0 1 0 0 1 4
|
||||
/dev/random c 444 0 0 1 8 - - -
|
||||
/dev/rbuttons c 660 0 0 60 0 - - -
|
||||
/dev/rfcomm c 666 0 0 216 0 0 1 4
|
||||
/dev/rmidi0 c 660 0 0 35 64 - - -
|
||||
/dev/rmidi1 c 660 0 0 35 65 - - -
|
||||
/dev/rmidi2 c 660 0 0 35 66 - - -
|
||||
/dev/rmidi3 c 660 0 0 35 67 - - -
|
||||
/dev/rtc c 660 0 47 10 135 - - -
|
||||
/dev/scd0 b 660 0 6 11 0 - - -
|
||||
/dev/scd1 b 660 0 6 11 1 - - -
|
||||
/dev/sda b 660 0 6 8 0 - - -
|
||||
/dev/sda1 b 660 0 6 8 1 - - -
|
||||
/dev/sda2 b 660 0 6 8 2 - - -
|
||||
/dev/sda3 b 660 0 6 8 3 - - -
|
||||
/dev/sda4 b 660 0 6 8 4 - - -
|
||||
/dev/sda5 b 660 0 6 8 5 - - -
|
||||
/dev/sda6 b 660 0 6 8 6 - - -
|
||||
/dev/sda7 b 660 0 6 8 7 - - -
|
||||
/dev/sda8 b 660 0 6 8 8 - - -
|
||||
/dev/sda9 b 660 0 6 8 9 - - -
|
||||
/dev/sdb b 660 0 6 8 16 - - -
|
||||
/dev/sdb1 b 660 0 6 8 17 - - -
|
||||
/dev/sdb2 b 660 0 6 8 18 - - -
|
||||
/dev/sdb3 b 660 0 6 8 19 - - -
|
||||
/dev/sdb4 b 660 0 6 8 20 - - -
|
||||
/dev/sdb5 b 660 0 6 8 21 - - -
|
||||
/dev/sdb6 b 660 0 6 8 22 - - -
|
||||
/dev/sdb7 b 660 0 6 8 23 - - -
|
||||
/dev/sdb8 b 660 0 6 8 24 - - -
|
||||
/dev/sdb9 b 660 0 6 8 25 - - -
|
||||
/dev/sdc b 660 0 6 8 32 - - -
|
||||
/dev/sdc1 b 660 0 6 8 33 - - -
|
||||
/dev/sdc2 b 660 0 6 8 34 - - -
|
||||
/dev/sdc3 b 660 0 6 8 35 - - -
|
||||
/dev/sdc4 b 660 0 6 8 36 - - -
|
||||
/dev/sdc5 b 660 0 6 8 37 - - -
|
||||
/dev/sdc6 b 660 0 6 8 38 - - -
|
||||
/dev/sdc7 b 660 0 6 8 39 - - -
|
||||
/dev/sdc8 b 660 0 6 8 40 - - -
|
||||
/dev/sdc9 b 660 0 6 8 41 - - -
|
||||
/dev/sd_slotstat c 660 0 6 10 240 - - -
|
||||
#/dev/sharp_audioctl c 660 0 29 10 213 - - -
|
||||
#/dev/sharp_buz c 660 0 29 10 211 - - -
|
||||
#/dev/sharp_kbdctl c 660 0 45 10 214 - - -
|
||||
#/dev/sharp_led c 660 0 48 10 210 - - -
|
||||
#/dev/sharp_ts c 640 0 45 11 0 - - -
|
||||
/dev/smtpe0 c 640 0 0 35 128 - - -
|
||||
/dev/smtpe1 c 640 0 0 35 129 - - -
|
||||
/dev/smtpe2 c 640 0 0 35 130 - - -
|
||||
/dev/smtpe3 c 640 0 0 35 131 - - -
|
||||
/dev/sndstat c 660 0 29 14 6 - - -
|
||||
/dev/st0 c 660 0 11 9 0 - - -
|
||||
/dev/st0a c 660 0 11 9 96 - - -
|
||||
/dev/st0l c 660 0 11 9 32 - - -
|
||||
/dev/st0m c 660 0 11 9 64 - - -
|
||||
/dev/st1 c 660 0 11 9 1 - - -
|
||||
/dev/st1a c 660 0 11 9 97 - - -
|
||||
/dev/st1l c 660 0 11 9 33 - - -
|
||||
/dev/st1m c 660 0 11 9 65 - - -
|
||||
/dev/tty c 666 0 5 5 0 - - -
|
||||
/dev/tty c 666 0 5 4 0 0 1 9
|
||||
/dev/ttyS c 640 0 5 4 64 0 1 4
|
||||
/dev/ttySA c 640 0 5 204 5 0 1 4
|
||||
/dev/ttyUSB c 660 0 5 188 0 0 1 2
|
||||
/dev/urandom c 644 0 0 1 9 - - -
|
||||
/dev/usbmouse c 640 0 45 10 32 - - -
|
||||
/dev/video c 644 0 0 81 0 0 1 4
|
||||
/dev/zero c 644 0 0 1 5 - - -
|
||||
/dev/input/mice c 660 0 0 13 63 - - -
|
||||
52
openembedded/packages/initscripts/initscripts-1.0/openslug/devices.patch
vendored
Normal file
52
openembedded/packages/initscripts/initscripts-1.0/openslug/devices.patch
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
#
|
||||
# Patch to allow /dev to reside permanently in the file
|
||||
# system.
|
||||
#
|
||||
--- old/devices 2005-05-28 21:51:39.012078699 -0700
|
||||
+++ new/devices 2005-06-12 00:16:29.222686303 -0700
|
||||
@@ -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/.udevdb -o -e /dev/.permanent; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -37,12 +37,20 @@
|
||||
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
|
||||
- mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
- if test $? -ne 0; then
|
||||
- if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
+ if test -e /dev/.noram
|
||||
+ then
|
||||
+ # There should be no files, any files will damage the
|
||||
+ # makedevs script below.
|
||||
+ rm $(find /dev -type f -print)
|
||||
+ :>/dev/.noram
|
||||
else
|
||||
- if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
+ if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
|
||||
+ mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
+ if test $? -ne 0; then
|
||||
+ if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
+ else
|
||||
+ if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
+ fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
@@ -60,6 +68,10 @@
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
+ if test -e /dev/.noram
|
||||
+ then
|
||||
+ :>/dev/.permanent
|
||||
+ fi
|
||||
fi
|
||||
fi
|
||||
|
||||
5
openembedded/packages/initscripts/initscripts-1.0/openslug/domainname.sh
vendored
Normal file
5
openembedded/packages/initscripts/initscripts-1.0/openslug/domainname.sh
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# domainname.sh Set the domainname.
|
||||
#
|
||||
test -r /etc/defaultdomain &&
|
||||
cat /etc/defaultdomain >/proc/sys/kernel/domainname
|
||||
15
openembedded/packages/initscripts/initscripts-1.0/openslug/rootopts.patch
vendored
Normal file
15
openembedded/packages/initscripts/initscripts-1.0/openslug/rootopts.patch
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#
|
||||
# Ensure that the root file system is remounted with the correct
|
||||
# options from fstab
|
||||
#
|
||||
--- old/checkroot.sh 2005-05-28 19:30:55.488975598 -0700
|
||||
+++ new/checkroot.sh 2005-05-28 19:31:32.334390450 -0700
|
||||
@@ -149,7 +149,7 @@
|
||||
# is on a ro fs until the remount succeeded. Then clean up old mtabs
|
||||
# and finally write the new mtab.
|
||||
#
|
||||
-mount -n -o remount,$rootmode /
|
||||
+mount -n -o remount,$rootopts /
|
||||
if test "$rootmode" = rw
|
||||
then
|
||||
if test ! -L /etc/mtab
|
||||
43
openembedded/packages/initscripts/initscripts-1.0/openslug/umountfs
vendored
Normal file
43
openembedded/packages/initscripts/initscripts-1.0/openslug/umountfs
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# umountfs Turn off swap and unmount all local filesystems.
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Ensure /proc is mounted
|
||||
test -r /proc/mounts || mount -t proc proc /proc
|
||||
|
||||
echo "Deactivating swap..."
|
||||
swapoff -a
|
||||
|
||||
# We leave /proc mounted, the umount of /dev/devpts seems to fail
|
||||
# quite frequently, the busybox umount apparently gives up at the
|
||||
# first failure, so it is necessary to go file system by file
|
||||
# system. It is necessary to go backward in the /proc list, because
|
||||
# later things may have been mounted on earlier mounts.
|
||||
devfs=
|
||||
unmount() {
|
||||
local dev mp type opts
|
||||
if read dev mp type opts
|
||||
then
|
||||
# recurse - unmount later items
|
||||
unmount
|
||||
# skip /proc and /dev but not the sub-directories
|
||||
case "$mp" in
|
||||
/|/proc)return 0;;
|
||||
/dev) devfs=1
|
||||
return 0;;
|
||||
esac
|
||||
# then unmount this, if possible, otherwise make
|
||||
# it read-only
|
||||
umount -f -r "$mp"
|
||||
fi
|
||||
}
|
||||
|
||||
echo "Unmounting local filesystems..."
|
||||
unmount </proc/mounts
|
||||
|
||||
# now /dev and read-only / (halt/reboot may need /proc!)
|
||||
test -n "$devfs" && umount -f -r /dev
|
||||
mount -o remount,ro /
|
||||
40
openembedded/packages/initscripts/initscripts-1.0/openslug/umountnfs.sh
vendored
Normal file
40
openembedded/packages/initscripts/initscripts-1.0/openslug/umountnfs.sh
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# umountnfs.sh Unmount all network filesystems.
|
||||
#
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Write a reboot record to /var/log/wtmp before unmounting
|
||||
halt -w
|
||||
|
||||
# Ensure /proc is mounted
|
||||
test -r /proc/mounts || mount -t proc proc /proc
|
||||
|
||||
echo "Unmounting remote filesystems..."
|
||||
|
||||
#
|
||||
# Read the list of mounted file systems and -f umount the
|
||||
# known network file systems. -f says umount it even if
|
||||
# the server is unreachable. Do not attempt to umount
|
||||
# the root file system. Unmount in reverse order from
|
||||
# that given by /proc/mounts (otherwise it may not work).
|
||||
#
|
||||
unmount() {
|
||||
local dev mp type opts
|
||||
if read dev mp type opts
|
||||
then
|
||||
# recurse - unmount later items
|
||||
unmount
|
||||
# skip /, /proc and /dev
|
||||
case "$mp" in
|
||||
/|/proc)return 0;;
|
||||
/dev) return 0;;
|
||||
esac
|
||||
# then unmount this, if nfs
|
||||
case "$type" in
|
||||
nfs|smbfs|ncpfs) umount -f "$mp";;
|
||||
esac
|
||||
fi
|
||||
}
|
||||
|
||||
unmount </proc/mounts
|
||||
31
openembedded/packages/initscripts/initscripts-1.0/openzaurus/checkversion
vendored
Executable file
31
openembedded/packages/initscripts/initscripts-1.0/openzaurus/checkversion
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
|
||||
found=`cat /proc/version | cut -d ' ' -f3`
|
||||
echo "$found" | grep -q "snapshot" && exit 0
|
||||
|
||||
if [ "VERSION" != "$found" ] ; then
|
||||
echo -e >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m * \033[0mW A R N I N G ! \033[31;1m* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m * \033[0mYou are running the wrong kernel! \033[31;1m* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo >/dev/tty1
|
||||
echo -e "You are running '" $found "'" >/dev/tty1
|
||||
echo -e "I expect kernel '" VERSION "'" >/dev/tty1
|
||||
echo >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m * \033[0mRunning this combination is unsupported \033[31;1m* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo >/dev/tty1
|
||||
echo "I will sleep for 1 minute now. Use this chance to " >/dev/tty1
|
||||
echo "reboot the device and flash the proper kernel now! " >/dev/tty1
|
||||
echo -e >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m * \033[0mW A R N I N G ! \033[31;1m* \033[0m" >/dev/tty1
|
||||
echo -e "\033[31;1m ******************************************* \033[0m" >/dev/tty1
|
||||
echo >/dev/tty1
|
||||
sleep 60
|
||||
fi
|
||||
67
openembedded/packages/initscripts/initscripts-1.0/poodle/devices
vendored
Executable file
67
openembedded/packages/initscripts/initscripts-1.0/poodle/devices
vendored
Executable file
@@ -0,0 +1,67 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
138
openembedded/packages/initscripts/initscripts-1.0/populate-volatile.sh
vendored
Executable file
138
openembedded/packages/initscripts/initscripts-1.0/populate-volatile.sh
vendored
Executable file
@@ -0,0 +1,138 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
CFGDIR="/etc/default/volatiles"
|
||||
TMPROOT="/var/tmp"
|
||||
COREDEF="00_core"
|
||||
|
||||
[ "${VERBOSE}" != "no" ] && echo "Populating volatile Filesystems."
|
||||
|
||||
|
||||
check_requirements() {
|
||||
|
||||
cleanup() {
|
||||
rm "${TMP_INTERMED}"
|
||||
rm "${TMP_DEFINED}"
|
||||
rm "${TMP_COMBINED}"
|
||||
}
|
||||
|
||||
CFGFILE="$1"
|
||||
|
||||
[ `basename "${CFGFILE}"` = "${COREDEF}" ] && return 0
|
||||
|
||||
TMP_INTERMED="${TMPROOT}/tmp.$$"
|
||||
TMP_DEFINED="${TMPROOT}/tmpdefined.$$"
|
||||
TMP_COMBINED="${TMPROOT}/tmpcombined.$$"
|
||||
|
||||
|
||||
cat /etc/passwd | sed 's@\(^:\)*:.*@\1@' | sort | uniq > "${TMP_DEFINED}"
|
||||
cat ${CFGFILE} | grep -v "^#" | cut -d " " -f 2 > "${TMP_INTERMED}"
|
||||
cat "${TMP_DEFINED}" "${TMP_INTERMED}" | sort | uniq > "${TMP_COMBINED}"
|
||||
|
||||
NR_DEFINED_USERS="`cat "${TMP_DEFINED}" | wc -l`"
|
||||
NR_COMBINED_USERS="`cat "${TMP_COMBINED}" | wc -l`"
|
||||
|
||||
[ "${NR_DEFINED_USERS}" -ne "${NR_COMBINED_USERS}" ] && {
|
||||
echo "Undefined users:"
|
||||
diff "${TMP_DEFINED}" "${TMP_COMBINED}" | grep "^>"
|
||||
cleanup
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
cat /etc/group | sed 's@\(^:\)*:.*@\1@' | sort | uniq > "${TMP_DEFINED}"
|
||||
cat ${CFGFILE} | grep -v "^#" | cut -d " " -f 3 > "${TMP_INTERMED}"
|
||||
cat "${TMP_DEFINED}" "${TMP_INTERMED}" | sort | uniq > "${TMP_COMBINED}"
|
||||
|
||||
NR_DEFINED_GROUPS="`cat "${TMP_DEFINED}" | wc -l`"
|
||||
NR_COMBINED_GROUPS="`cat "${TMP_COMBINED}" | wc -l`"
|
||||
|
||||
[ "${NR_DEFINED_GROUPS}" -ne "${NR_COMBINED_GROUPS}" ] && {
|
||||
echo "Undefined groups:"
|
||||
diff "${TMP_DEFINED}" "${TMP_COMBINED}" | grep "^>"
|
||||
cleanup
|
||||
return 1
|
||||
}
|
||||
|
||||
# Add checks for required directories here
|
||||
|
||||
cleanup
|
||||
return 0
|
||||
}
|
||||
|
||||
apply_cfgfile() {
|
||||
|
||||
CFGFILE="$1"
|
||||
|
||||
check_requirements "${CFGFILE}" || {
|
||||
echo "Skipping ${CFGFILE}"
|
||||
return 1
|
||||
}
|
||||
|
||||
cat ${CFGFILE} | grep -v "^#" | \
|
||||
while read LINE; do
|
||||
TTYPE=`echo ${LINE} | cut -d " " -f 1`
|
||||
TUSER=`echo ${LINE} | cut -d " " -f 2`
|
||||
TGROUP=`echo ${LINE} | cut -d " " -f 3`
|
||||
TMODE=`echo ${LINE} | cut -d " " -f 4`
|
||||
TNAME=`echo ${LINE} | cut -d " " -f 5`
|
||||
|
||||
[ "${VERBOSE}" != "no" ] && echo "Checking for -${TNAME}-."
|
||||
|
||||
[ "${TTYPE}" = "l" ] && {
|
||||
[ -e "${TNAME}" ] && {
|
||||
echo "Cannot create link over existing -${TNAME}-." >&2
|
||||
} || {
|
||||
TSOURCE=`echo ${LINE} | cut -d " " -f 6`
|
||||
[ "${VERBOSE}" != "no" ] && echo "Creating link -${TNAME}- pointing to -${TSOURCE}-."
|
||||
ln -s "${TSOURCE}" "${TNAME}"
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
[ -L "${TNAME}" ] && {
|
||||
[ "${VERBOSE}" != "no" ] && echo "Found link."
|
||||
NEWNAME=`ls -l "${TNAME}" | sed -e 's/^.*-> \(.*\)$/\1/'`
|
||||
echo ${NEWNAME} | grep -v "^/" >/dev/null && {
|
||||
TNAME="`echo ${TNAME} | sed -e 's@\(.*\)/.*@\1@'`/${NEWNAME}"
|
||||
[ "${VERBOSE}" != "no" ] && echo "Converted relative linktarget to absolute path -${TNAME}-."
|
||||
} || {
|
||||
TNAME="${NEWNAME}"
|
||||
[ "${VERBOSE}" != "no" ] && echo "Using absolute link target -${TNAME}-."
|
||||
}
|
||||
}
|
||||
|
||||
[ -e "${TNAME}" ] && {
|
||||
[ "${VERBOSE}" != "no" ] && echo "Target already exists. Skipping."
|
||||
continue
|
||||
}
|
||||
|
||||
case "${TTYPE}" in
|
||||
"f") [ "${VERBOSE}" != "no" ] && echo "Creating file -${TNAME}-."
|
||||
touch "${TNAME}"
|
||||
;;
|
||||
"d") [ "${VERBOSE}" != "no" ] && echo "Creating directory -${TNAME}-."
|
||||
mkdir -p "${TNAME}"
|
||||
# Add check to see if there's an entry in fstab to mount.
|
||||
;;
|
||||
*) [ "${VERBOSE}" != "no" ] && echo "Invalid type -${TTYPE}-."
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
chown ${TUSER} ${TNAME} || echo "Failed to set owner -${TUSER}- for -${TNAME}-." >&2
|
||||
chgrp ${TGROUP} ${TNAME} || echo "Failed to set group -${TGROUP}- for -${TNAME}-." >&2
|
||||
chmod ${TMODE} ${TNAME} || echo "Failed to set mode -${TMODE}- for -${TNAME}-." >&2
|
||||
|
||||
done
|
||||
|
||||
return 0
|
||||
|
||||
}
|
||||
|
||||
|
||||
for file in `ls -1 "${CFGDIR}" | sort`; do
|
||||
apply_cfgfile "${CFGDIR}/${file}"
|
||||
done
|
||||
|
||||
46
openembedded/packages/initscripts/initscripts-1.0/ramdisk
vendored
Executable file
46
openembedded/packages/initscripts/initscripts-1.0/ramdisk
vendored
Executable file
@@ -0,0 +1,46 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
FSTYPE=ext2
|
||||
|
||||
if test ! -e /proc/mtd
|
||||
then
|
||||
test "$VERBOSE" != "no" && echo >&2 "/proc not mounted, or mtd support not enabled in kernel."
|
||||
exit
|
||||
fi
|
||||
|
||||
RAM_MTD_NO=`cat /proc/mtd | grep mtdram | tail -n 1 | cut -d: -f1 | cut -dd -f2`
|
||||
if test -z "$RAM_MTD_NO"; then exit 0; fi
|
||||
|
||||
if test -e /dev/mtdblock/0
|
||||
then
|
||||
RAM_MTD=/dev/mtd/$RAM_MTD_NO
|
||||
RAM_MTDBLK=/dev/mtdblock/$RAM_MTD_NO
|
||||
else
|
||||
RAM_MTD=/dev/mtd$RAM_MTD_NO
|
||||
RAM_MTDBLK=/dev/mtdblock$RAM_MTD_NO
|
||||
fi
|
||||
|
||||
RAM_MNTPT=/mnt/ram
|
||||
RAM_MTD_SIZE_HEX=`cat /proc/mtd | grep mtdram | tail -n 1 | cut -d" " -f 2`
|
||||
RAM_MTD_SIZE=`dc 0x$RAM_MTD_SIZE_HEX 1024 / p`
|
||||
test -e /etc/ramdisk.conf && OLD_MTD_SIZE=`cat /etc/ramdisk.conf`
|
||||
echo $RAM_MTD_SIZE > /etc/ramdisk.conf
|
||||
|
||||
if test ! -d "$RAM_MNTPT"; then echo >&2 "Mountpoint $RAM_MNTPT does not exist!"; exit 0; fi
|
||||
|
||||
if (test ! -e /etc/.configured) || test "$OLD_MTD_SIZE" != "$RAM_MTD_SIZE"; then
|
||||
test "$VERBOSE" != "no" && echo -n "Wiping ramdisk: "
|
||||
dd if=/dev/zero bs=1024 count=$RAM_MTD_SIZE of=$RAM_MTD 2>/dev/null >&2 || exit 1
|
||||
test "$VERBOSE" != "no" && echo "$RAM_MTD";
|
||||
test "$VERBOSE" != "no" && echo -n "Creating filesystem on ramdisk: "
|
||||
mkfs.$FSTYPE $RAM_MTDBLK 2>/dev/null >&2 || exit 1
|
||||
test "$VERBOSE" != "no" && echo "$RAM_MTDBLK";
|
||||
fi
|
||||
|
||||
test "$VERBOSE" != "no" && echo -n "Mounting ramdisk: "
|
||||
mount -t $FSTYPE $RAM_MTDBLK $RAM_MNTPT 2>/dev/null >&2 || exit 1
|
||||
test "$VERBOSE" != "no" && echo "$RAM_MTDBLK";
|
||||
|
||||
exit 0
|
||||
17
openembedded/packages/initscripts/initscripts-1.0/reboot
vendored
Executable file
17
openembedded/packages/initscripts/initscripts-1.0/reboot
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# reboot Execute the reboot command.
|
||||
#
|
||||
# Version: @(#)reboot 2.75 22-Jun-1998 miquels@cistron.nl
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Update the timestamp, if there is one
|
||||
if test -e /etc/timestamp
|
||||
then
|
||||
date +%2m%2d%2H%2M%Y > /etc/timestamp
|
||||
fi
|
||||
|
||||
echo -n "Rebooting... "
|
||||
reboot -d -f -i
|
||||
14
openembedded/packages/initscripts/initscripts-1.0/rmnologin
vendored
Executable file
14
openembedded/packages/initscripts/initscripts-1.0/rmnologin
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# rmnologin This script removes the /etc/nologin file as the last
|
||||
# step in the boot process.
|
||||
#
|
||||
# Version: @(#)rmnologin 1.00 22-Jun-1998 miquels@cistron.nl
|
||||
#
|
||||
|
||||
if test -f /etc/nologin.boot
|
||||
then
|
||||
rm -f /etc/nologin /etc/nologin.boot
|
||||
fi
|
||||
|
||||
: exit 0
|
||||
17
openembedded/packages/initscripts/initscripts-1.0/sendsigs
vendored
Executable file
17
openembedded/packages/initscripts/initscripts-1.0/sendsigs
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# sendsigs Kill all remaining processes.
|
||||
#
|
||||
# Version: @(#)sendsigs 2.75 22-Jun-1998 miquels@cistron.nl
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Kill all processes.
|
||||
echo "Sending all processes the TERM signal..."
|
||||
killall5 -15
|
||||
sleep 5
|
||||
echo "Sending all processes the KILL signal..."
|
||||
killall5 -9
|
||||
|
||||
: exit 0
|
||||
37
openembedded/packages/initscripts/initscripts-1.0/simpad/devices
vendored
Normal file
37
openembedded/packages/initscripts/initscripts-1.0/simpad/devices
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
|
||||
(
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
ln -s /dev/misc/apm_bios /dev/apm_bios
|
||||
|
||||
## need this so that ppp will autoload the ppp modules
|
||||
mknod /dev/ppp c 108 0
|
||||
) > /dev/null 2>&1
|
||||
|
||||
|
||||
test -n "$VERBOSE" && echo "done"
|
||||
21
openembedded/packages/initscripts/initscripts-1.0/single
vendored
Executable file
21
openembedded/packages/initscripts/initscripts-1.0/single
vendored
Executable file
@@ -0,0 +1,21 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# single executed by init(8) upon entering runlevel 1 (single).
|
||||
#
|
||||
# Version: @(#)single 1.20 26-Geb-2001 miquels@cistron.nl
|
||||
#
|
||||
|
||||
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
|
||||
|
||||
# Kill all processes.
|
||||
echo "Sending all processes the TERM signal..."
|
||||
killall5 -15
|
||||
sleep 5
|
||||
echo "Sending all processes the KILL signal..."
|
||||
killall5 -9
|
||||
|
||||
# We start update here, since we just killed it.
|
||||
test -x /sbin/update && update
|
||||
|
||||
echo "Entering single-user mode..."
|
||||
exec init -t1 S
|
||||
68
openembedded/packages/initscripts/initscripts-1.0/spitz/devices
vendored
Executable file
68
openembedded/packages/initscripts/initscripts-1.0/spitz/devices
vendored
Executable file
@@ -0,0 +1,68 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
128
openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map
vendored
Normal file
128
openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.4.map
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
keymaps 0-2,4-5
|
||||
keycode 1 = +a +A +a Control_a Control_a
|
||||
keycode 2 = +b +B underscore Control_b Control_b
|
||||
keycode 3 = +c +C +c Control_c Control_c
|
||||
keycode 4 = +d +D +d Control_d Control_d
|
||||
keycode 5 = +e +E equal Control_e Control_e
|
||||
keycode 6 = +f +F backslash Control_f Control_f
|
||||
keycode 7 = +g +G semicolon Control_g Control_g
|
||||
keycode 8 = +h +H colon BackSpace BackSpace
|
||||
keycode 9 = +i +I +i Tab Tab
|
||||
keycode 10 = +j +J asterisk Linefeed Linefeed
|
||||
keycode 11 = +k +K backslash Control_k Control_k
|
||||
keycode 12 = +l +L bar Control_l Control_l
|
||||
keycode 13 = +m +M +m Control_m Control_m
|
||||
keycode 14 = +n +N +n Control_n Control_n
|
||||
keycode 15 = +o +O +o Control_o Control_o
|
||||
keycode 16 = +p +P +p Control_p Control_p
|
||||
keycode 17 = +q +Q +q Control_q Control_q
|
||||
keycode 18 = +r +R plus Control_r Control_r
|
||||
keycode 19 = +s +S +s Control_s Control_s
|
||||
keycode 20 = +t +T bracketleft Control_t Control_t
|
||||
keycode 21 = +u +U +u Control_u Control_u
|
||||
keycode 22 = +v +V +v Control_v Control_v
|
||||
keycode 23 = +w +W asciicircum Control_w Control_w
|
||||
keycode 24 = +x +X +x Control_x Control_x
|
||||
keycode 25 = +y +Y bracketright Control_y Control_y
|
||||
keycode 26 = +z +Z +z Control_z Control_z
|
||||
keycode 27 = Shift Shift Shift Shift Shift
|
||||
keycode 28 = Return Return Return Return Return
|
||||
keycode 29 = F11 F11 F11 F11 F11
|
||||
keycode 30 = AltGr AltGr AltGr AltGr AltGr
|
||||
keycode 31 = BackSpace BackSpace Delete BackSpace BackSpace
|
||||
keycode 32 = Num_Lock Num_Lock Num_Lock Num_Lock Num_Lock
|
||||
keycode 33 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 34 = Escape Escape Escape Escape Escape
|
||||
keycode 35 = Left Left Home Left Left
|
||||
keycode 36 = Up Up PageUp Up Up
|
||||
keycode 37 = Down Down PageDown Down Down
|
||||
keycode 38 = Right Right End Right Right
|
||||
keycode 39 = Return Return Return Return Return
|
||||
keycode 40 = F12 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 41 = one exclam VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 42 = two quotedbl VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 43 = three numbersign VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 44 = four dollar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 45 = five percent VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 46 = six ampersand VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 47 = seven apostrophe VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 48 = eight parenleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 49 = nine parenright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 50 = zero asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 51 = minus equal VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 52 = asciicircum asciitilde VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 53 = backslash bar VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 54 = bracketleft braceleft VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 55 = at grave VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 56 = Control Control Control Control Control
|
||||
keycode 57 = Alt Alt Alt Alt Alt
|
||||
keycode 58 = Control Control Control Control Control
|
||||
keycode 59 = minus at VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 60 = Shift_Lock Shift_Lock Shift_Lock Shift_Lock Shift_Lock
|
||||
keycode 61 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 62 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 63 = comma slash less VoidSymbol VoidSymbol
|
||||
keycode 64 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 65 = Tab Tab Caps_Lock Tab Tab
|
||||
keycode 66 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 67 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 68 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 69 = asciitilde VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 70 = slash VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 71 = KP_1 KP_1 KP_1 KP_1 KP_1
|
||||
keycode 72 = KP_2 KP_2 KP_2 KP_2 KP_2
|
||||
keycode 73 = KP_3 KP_3 KP_3 KP_3 KP_3
|
||||
keycode 74 = KP_4 KP_4 KP_4 KP_4 KP_4
|
||||
keycode 75 = KP_5 KP_5 KP_5 KP_5 KP_5
|
||||
keycode 76 = KP_6 KP_6 KP_6 KP_6 KP_6
|
||||
keycode 77 = KP_7 KP_7 KP_7 KP_7 KP_7
|
||||
keycode 78 = KP_8 KP_8 KP_8 KP_8 KP_8
|
||||
keycode 79 = KP_9 KP_9 KP_9 KP_9 KP_9
|
||||
keycode 80 = KP_0 KP_0 KP_0 KP_0 KP_0
|
||||
keycode 81 = Delete Delete Delete Delete Delete
|
||||
keycode 82 = KP_Divide KP_Divide KP_Divide KP_Divide KP_Divide
|
||||
keycode 83 = KP_Multiply KP_Multiply KP_Multiply KP_Multiply KP_Multiply
|
||||
keycode 84 = Return Return Return Return Return
|
||||
keycode 85 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract
|
||||
keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add
|
||||
keycode 87 = KP_Enter KP_Enter KP_Enter KP_Enter KP_Enter
|
||||
keycode 88 = F9 F9 F9 F9 F9
|
||||
keycode 89 = F10 F10 F10 F10 F10
|
||||
keycode 90 = F13 F13 F13 F13 F13
|
||||
keycode 91 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 92 = space space space space space
|
||||
keycode 93 = KP_Period KP_Period KP_Period KP_Period KP_Period
|
||||
keycode 94 = Escape Escape Escape Escape
|
||||
keycode 95 = semicolon plus VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 96 = colon asterisk VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 97 = bracketright braceright VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 98 = comma less VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 99 = period greater VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 100 = slash question VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 101 = underscore underscore VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 102 = F15 VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 103 = period question greater VoidSymbol VoidSymbol
|
||||
keycode 104 = Find Find Find Find Find
|
||||
keycode 105 = Select Select Select Select Select
|
||||
keycode 106 = Prior Scroll_Backward Prior Prior Prior
|
||||
keycode 107 = Next Scroll_Forward Next Next Next
|
||||
keycode 108 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 109 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 110 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 111 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 112 = Shift Shift Shift Shift Shift
|
||||
keycode 113 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 114 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 115 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 116 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 117 = Control Control Control Control Control
|
||||
keycode 118 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 119 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 120 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 121 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 122 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 123 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 124 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
keycode 125 = Up Up Up Up
|
||||
keycode 126 = Down Down Down Down
|
||||
keycode 127 = VoidSymbol VoidSymbol VoidSymbol VoidSymbol VoidSymbol
|
||||
213
openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.6.map
vendored
Normal file
213
openembedded/packages/initscripts/initscripts-1.0/spitz/keymap-2.6.map
vendored
Normal file
@@ -0,0 +1,213 @@
|
||||
# Default kernel keymap. This uses 7 modifier combinations.
|
||||
keymaps 0-2,4-5,8,12
|
||||
# Change the above line into
|
||||
# keymaps 0-2,4-6,8,12
|
||||
# in case you want the entries
|
||||
# altgr control keycode 83 = Boot
|
||||
# altgr control keycode 111 = Boot
|
||||
# below.
|
||||
#
|
||||
keycode 1 =
|
||||
keycode 2 = one exclam
|
||||
control alt keycode 2 = Console_1
|
||||
keycode 3 = two quotedbl
|
||||
control alt keycode 3 = Console_2
|
||||
keycode 4 = three numbersign
|
||||
control alt keycode 4 = Console_3
|
||||
keycode 5 = four dollar
|
||||
control alt keycode 5 = Console_4
|
||||
keycode 6 = five percent
|
||||
control alt keycode 6 = Console_5
|
||||
keycode 7 = six ampersand
|
||||
control alt keycode 7 = Console_6
|
||||
keycode 8 = seven apostrophe
|
||||
keycode 9 = eight parenleft
|
||||
keycode 10 = nine parenright
|
||||
keycode 11 = zero asciitilde
|
||||
keycode 12 = minus at
|
||||
altgr keycode 12 = at
|
||||
keycode 13 =
|
||||
keycode 14 = BackSpace
|
||||
altgr keycode 14 = Delete
|
||||
keycode 15 = Tab
|
||||
shift keycode 65 = Caps_Lock
|
||||
keycode 16 = q
|
||||
keycode 17 = w
|
||||
altgr keycode 17 = asciicircum
|
||||
keycode 18 = e
|
||||
altgr keycode 18 = equal
|
||||
keycode 19 = r
|
||||
altgr keycode 19 = plus
|
||||
keycode 20 = t
|
||||
altgr keycode 20 = bracketleft
|
||||
keycode 21 = y
|
||||
altgr keycode 21 = bracketright
|
||||
keycode 22 = u
|
||||
altgr keycode 22 = braceleft
|
||||
keycode 23 = i
|
||||
altgr keycode 23 = braceright
|
||||
keycode 24 = o
|
||||
keycode 25 = p
|
||||
keycode 26 =
|
||||
keycode 27 =
|
||||
keycode 28 = Return
|
||||
keycode 29 = Control
|
||||
keycode 30 = a
|
||||
keycode 31 = s
|
||||
keycode 32 = d
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = backslash
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = semicolon
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = colon
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = asterisk
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = backslash
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = bar
|
||||
keycode 39 =
|
||||
keycode 40 =
|
||||
keycode 41 =
|
||||
keycode 42 = Shift
|
||||
keycode 43 =
|
||||
keycode 44 = z
|
||||
keycode 45 = x
|
||||
keycode 46 = c
|
||||
keycode 47 = v
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = underscore
|
||||
keycode 49 = n
|
||||
keycode 50 = m
|
||||
keycode 51 = comma slash
|
||||
altgr keycode 51 = less
|
||||
keycode 52 = period question
|
||||
altgr keycode 52 = greater
|
||||
keycode 53 =
|
||||
keycode 54 = Shift
|
||||
keycode 55 =
|
||||
keycode 56 = Alt
|
||||
keycode 57 = space space
|
||||
control keycode 57 = nul
|
||||
keycode 59 = F9
|
||||
keycode 60 = F10
|
||||
keycode 61 = AltGr
|
||||
keycode 62 = Escape
|
||||
keycode 63 = Return
|
||||
keycode 64 = Escape
|
||||
keycode 65 = Down
|
||||
keycode 66 = Up
|
||||
keycode 67 = Control
|
||||
keycode 68 = F13
|
||||
keycode 79 = F15
|
||||
keycode 80 = F16
|
||||
keycode 82 = F17
|
||||
keycode 87 = Return
|
||||
keycode 88 = F11
|
||||
keycode 97 = Control
|
||||
keycode 99 = F12
|
||||
keycode 103 = Up
|
||||
altgr keycode 103 = PageUp
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Decr_Console
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = Incr_Console
|
||||
keycode 108 = Down
|
||||
altgr keycode 108 = PageDown
|
||||
string F1 = "\033[[A"
|
||||
string F2 = "\033[[B"
|
||||
string F3 = "\033[[C"
|
||||
string F4 = "\033[[D"
|
||||
string F5 = "\033[[E"
|
||||
string F6 = "\033[17~"
|
||||
string F7 = "\033[18~"
|
||||
string F8 = "\033[19~"
|
||||
string F9 = "\033[20~"
|
||||
string F10 = "\033[21~"
|
||||
string F11 = "\033[23~"
|
||||
string F12 = "\033[24~"
|
||||
string F13 = "\033[25~"
|
||||
string F14 = "\033[26~"
|
||||
string F15 = "\033[28~"
|
||||
string F16 = "\033[29~"
|
||||
string F17 = "\033[31~"
|
||||
string F18 = "\033[32~"
|
||||
string F19 = "\033[33~"
|
||||
string F20 = "\033[34~"
|
||||
string Find = "\033[1~"
|
||||
string Insert = "\033[2~"
|
||||
string Remove = "\033[3~"
|
||||
string Select = "\033[4~"
|
||||
string Prior = "\033[5~"
|
||||
string Next = "\033[6~"
|
||||
string Macro = "\033[M"
|
||||
string Pause = "\033[P"
|
||||
compose '`' 'A' to '<27>'
|
||||
compose '`' 'a' to '<27>'
|
||||
compose '\'' 'A' to '<27>'
|
||||
compose '\'' 'a' to '<27>'
|
||||
compose '^' 'A' to '<27>'
|
||||
compose '^' 'a' to '<27>'
|
||||
compose '~' 'A' to '<27>'
|
||||
compose '~' 'a' to '<27>'
|
||||
compose '"' 'A' to '<27>'
|
||||
compose '"' 'a' to '<27>'
|
||||
compose 'O' 'A' to '<27>'
|
||||
compose 'o' 'a' to '<27>'
|
||||
compose '0' 'A' to '<27>'
|
||||
compose '0' 'a' to '<27>'
|
||||
compose 'A' 'A' to '<27>'
|
||||
compose 'a' 'a' to '<27>'
|
||||
compose 'A' 'E' to '<27>'
|
||||
compose 'a' 'e' to '<27>'
|
||||
compose ',' 'C' to '<27>'
|
||||
compose ',' 'c' to '<27>'
|
||||
compose '`' 'E' to '<27>'
|
||||
compose '`' 'e' to '<27>'
|
||||
compose '\'' 'E' to '<27>'
|
||||
compose '\'' 'e' to '<27>'
|
||||
compose '^' 'E' to '<27>'
|
||||
compose '^' 'e' to '<27>'
|
||||
compose '"' 'E' to '<27>'
|
||||
compose '"' 'e' to '<27>'
|
||||
compose '`' 'I' to '<27>'
|
||||
compose '`' 'i' to '<27>'
|
||||
compose '\'' 'I' to '<27>'
|
||||
compose '\'' 'i' to '<27>'
|
||||
compose '^' 'I' to '<27>'
|
||||
compose '^' 'i' to '<27>'
|
||||
compose '"' 'I' to '<27>'
|
||||
compose '"' 'i' to '<27>'
|
||||
compose '-' 'D' to '<27>'
|
||||
compose '-' 'd' to '<27>'
|
||||
compose '~' 'N' to '<27>'
|
||||
compose '~' 'n' to '<27>'
|
||||
compose '`' 'O' to '<27>'
|
||||
compose '`' 'o' to '<27>'
|
||||
compose '\'' 'O' to '<27>'
|
||||
compose '\'' 'o' to '<27>'
|
||||
compose '^' 'O' to '<27>'
|
||||
compose '^' 'o' to '<27>'
|
||||
compose '~' 'O' to '<27>'
|
||||
compose '~' 'o' to '<27>'
|
||||
compose '"' 'O' to '<27>'
|
||||
compose '"' 'o' to '<27>'
|
||||
compose '/' 'O' to '<27>'
|
||||
compose '/' 'o' to '<27>'
|
||||
compose '`' 'U' to '<27>'
|
||||
compose '`' 'u' to '<27>'
|
||||
compose '\'' 'U' to '<27>'
|
||||
compose '\'' 'u' to '<27>'
|
||||
compose '^' 'U' to '<27>'
|
||||
compose '^' 'u' to '<27>'
|
||||
compose '"' 'U' to '<27>'
|
||||
compose '"' 'u' to '<27>'
|
||||
compose '\'' 'Y' to '<27>'
|
||||
compose '\'' 'y' to '<27>'
|
||||
compose 'T' 'H' to '<27>'
|
||||
compose 't' 'h' to '<27>'
|
||||
compose 's' 's' to '<27>'
|
||||
compose '"' 'y' to '<27>'
|
||||
compose 's' 'z' to '<27>'
|
||||
compose 'i' 'j' to '<27>'
|
||||
11
openembedded/packages/initscripts/initscripts-1.0/sysfs.sh
vendored
Normal file
11
openembedded/packages/initscripts/initscripts-1.0/sysfs.sh
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -e /proc ] && ! [ -e /proc/mounts ]; then
|
||||
mount -t proc proc /proc
|
||||
fi
|
||||
|
||||
if [ -e /sys ] && grep -q sysfs /proc/filesystems; then
|
||||
mount sysfs /sys -t sysfs
|
||||
fi
|
||||
|
||||
exit 0
|
||||
72
openembedded/packages/initscripts/initscripts-1.0/tosa/devices
vendored
Executable file
72
openembedded/packages/initscripts/initscripts-1.0/tosa/devices
vendored
Executable file
@@ -0,0 +1,72 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
mkdir -p dev/input
|
||||
mkdir -p dev/vc
|
||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||
ln -s /dev/tty$i /dev/vc/$i
|
||||
done
|
||||
ln -sf /dev/sharp_ts /dev/ts
|
||||
ln -sf /dev/sharp_fl /dev/fl
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
#Always turn on usb
|
||||
if [ ! -d /dev/usb ]; then mkdir /dev/usb; fi
|
||||
mknod /dev/usb/host_ohci c 10 222
|
||||
|
||||
exit 0
|
||||
133
openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map
vendored
Normal file
133
openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map
vendored
Normal file
@@ -0,0 +1,133 @@
|
||||
keymaps 0-2,4-5
|
||||
alt_is_meta
|
||||
keycode 1 = a
|
||||
keycode 2 = b
|
||||
keycode 3 = c
|
||||
keycode 4 = d
|
||||
keycode 5 = e
|
||||
keycode 6 = f
|
||||
keycode 7 = g
|
||||
keycode 8 = h
|
||||
keycode 9 = i
|
||||
keycode 10 = j
|
||||
keycode 11 = k
|
||||
keycode 12 = l
|
||||
keycode 13 = m
|
||||
keycode 14 = n
|
||||
keycode 15 = o
|
||||
keycode 16 = p
|
||||
keycode 17 = q
|
||||
keycode 18 = r
|
||||
keycode 19 = s
|
||||
keycode 20 = t
|
||||
keycode 21 = u
|
||||
keycode 22 = v
|
||||
keycode 23 = w
|
||||
keycode 24 = x
|
||||
keycode 25 = y
|
||||
keycode 26 = z
|
||||
keycode 27 = Shift
|
||||
keycode 28 = Return
|
||||
keycode 29 = F11
|
||||
keycode 30 = AltGr
|
||||
keycode 31 = BackSpace
|
||||
keycode 32 = Num_Lock
|
||||
keycode 33 = F15
|
||||
keycode 34 = Escape
|
||||
keycode 35 = Left
|
||||
altgr keycode 35 = Decr_Console
|
||||
keycode 36 = Up
|
||||
keycode 37 = Down
|
||||
keycode 38 = Right
|
||||
altgr keycode 38 = Incr_Console
|
||||
keycode 39 = Return
|
||||
keycode 40 = F12
|
||||
keycode 41 = one exclam
|
||||
keycode 42 = two quotedbl
|
||||
keycode 43 = three numbersign
|
||||
keycode 44 = four dollar
|
||||
keycode 45 = five percent
|
||||
keycode 46 = six ampersand
|
||||
keycode 47 = seven apostrophe
|
||||
keycode 48 = eight parenleft
|
||||
keycode 49 = nine parenright
|
||||
keycode 50 = zero asciitilde
|
||||
keycode 51 = minus equal
|
||||
keycode 52 = asciicircum asciitilde
|
||||
keycode 53 = backslash bar
|
||||
keycode 54 = bracketleft braceleft
|
||||
keycode 55 = at grave
|
||||
keycode 56 = Control
|
||||
keycode 57 = Alt
|
||||
keycode 58 = minus
|
||||
keycode 59 = plus
|
||||
keycode 60 = Caps_Lock
|
||||
keycode 61 = at
|
||||
keycode 62 = question
|
||||
keycode 63 = comma
|
||||
keycode 64 = period
|
||||
keycode 65 = Tab
|
||||
keycode 66 = F5
|
||||
keycode 67 = F6
|
||||
keycode 68 = F7
|
||||
keycode 69 = slash
|
||||
keycode 70 = apostrophe
|
||||
keycode 71 = semicolon
|
||||
keycode 72 = quotedbl
|
||||
keycode 73 = colon
|
||||
keycode 74 = numbersign
|
||||
keycode 75 = dollar
|
||||
keycode 76 = percent
|
||||
keycode 77 = underscore
|
||||
keycode 78 = ampersand
|
||||
keycode 79 = asterisk
|
||||
keycode 80 = parenleft
|
||||
keycode 81 = Delete
|
||||
keycode 82 = F10
|
||||
keycode 83 = equal
|
||||
keycode 84 = parenright
|
||||
keycode 85 = asciitilde
|
||||
keycode 86 = less
|
||||
keycode 87 = greater
|
||||
keycode 88 = F9
|
||||
keycode 89 = F10
|
||||
keycode 90 = F13
|
||||
keycode 91 = space
|
||||
control keycode 91 = nul
|
||||
keycode 92 = space
|
||||
control keycode 92 = nul
|
||||
keycode 93 =
|
||||
keycode 94 = AltGr
|
||||
keycode 95 = semicolon
|
||||
keycode 96 = colon
|
||||
keycode 97 = bracketright
|
||||
keycode 98 = comma
|
||||
keycode 99 = period
|
||||
keycode 100 = slash
|
||||
keycode 101 = underscore
|
||||
keycode 102 = F15
|
||||
keycode 103 = Shift
|
||||
keycode 104 = Find
|
||||
keycode 105 = Select
|
||||
keycode 106 = Prior
|
||||
keycode 107 = Next
|
||||
keycode 108 = AltGr
|
||||
keycode 109 = F31
|
||||
keycode 110 =
|
||||
keycode 111 =
|
||||
keycode 112 = Shift
|
||||
keycode 113 =
|
||||
keycode 114 =
|
||||
keycode 115 =
|
||||
keycode 116 =
|
||||
keycode 117 = Control
|
||||
keycode 118 =
|
||||
keycode 119 =
|
||||
keycode 120 = F24
|
||||
keycode 121 = Left
|
||||
keycode 122 = Up
|
||||
keycode 123 = Down
|
||||
keycode 124 = Right
|
||||
keycode 125 = Up
|
||||
keycode 126 = Down
|
||||
keycode 127 =
|
||||
210
openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map
vendored
Normal file
210
openembedded/packages/initscripts/initscripts-1.0/tosa/keymap-2.6.map
vendored
Normal file
@@ -0,0 +1,210 @@
|
||||
# Default kernel keymap. This uses 7 modifier combinations.
|
||||
keymaps 0-2,4-5,8,12
|
||||
# Change the above line into
|
||||
# keymaps 0-2,4-6,8,12
|
||||
# in case you want the entries
|
||||
# altgr control keycode 83 = Boot
|
||||
# altgr control keycode 111 = Boot
|
||||
# below.
|
||||
#
|
||||
keycode 1 =
|
||||
keycode 14 = BackSpace
|
||||
altgr keycode 14 = Delete
|
||||
keycode 15 = Tab
|
||||
altgr keycode 65 = Caps_Lock
|
||||
keycode 16 = q
|
||||
altgr keycode 16 = one
|
||||
keycode 17 = w
|
||||
altgr keycode 17 = two
|
||||
keycode 18 = e
|
||||
altgr keycode 18 = three
|
||||
keycode 19 = r
|
||||
altgr keycode 19 = four
|
||||
keycode 20 = t
|
||||
altgr keycode 20 = five
|
||||
keycode 21 = y
|
||||
altgr keycode 21 = six
|
||||
keycode 22 = u
|
||||
altgr keycode 22 = seven
|
||||
keycode 23 = i
|
||||
altgr keycode 23 = eight
|
||||
keycode 24 = o
|
||||
altgr keycode 24 = nine
|
||||
keycode 25 = p
|
||||
altgr keycode 25 = zero
|
||||
keycode 26 =
|
||||
keycode 27 =
|
||||
keycode 28 = Return
|
||||
altgr keycode 28 = greater
|
||||
keycode 29 = Control
|
||||
keycode 30 = a
|
||||
altgr keycode 30 = exclam
|
||||
keycode 31 = s
|
||||
altgr keycode 31 = at
|
||||
keycode 32 = d
|
||||
altgr keycode 32 = numbersign
|
||||
keycode 33 = f
|
||||
altgr keycode 33 = dollar
|
||||
keycode 34 = g
|
||||
altgr keycode 34 = percent
|
||||
keycode 35 = h
|
||||
altgr keycode 35 = underscore
|
||||
keycode 36 = j
|
||||
altgr keycode 36 = ampersand
|
||||
keycode 37 = k
|
||||
altgr keycode 37 = asterisk
|
||||
keycode 38 = l
|
||||
altgr keycode 38 = parenleft
|
||||
keycode 39 =
|
||||
keycode 40 = apostrophe
|
||||
altgr keycode 40 = asciitilde
|
||||
shift keycode 40 = quotedbl
|
||||
keycode 41 =
|
||||
keycode 42 = Shift
|
||||
keycode 43 =
|
||||
keycode 44 = z
|
||||
altgr keycode 44 = bar
|
||||
keycode 45 = x
|
||||
keycode 46 = c
|
||||
keycode 47 = v
|
||||
keycode 48 = b
|
||||
altgr keycode 48 = minus
|
||||
keycode 49 = n
|
||||
altgr keycode 49 = plus
|
||||
keycode 50 = m
|
||||
altgr keycode 50 = equal
|
||||
keycode 51 = comma
|
||||
altgr keycode 51 = parenright
|
||||
shift keycode 51 = semicolon
|
||||
keycode 52 = period
|
||||
shift keycode 52 = colon
|
||||
altgr keycode 52 = less
|
||||
|
||||
keycode 53 = slash
|
||||
shift keycode 53 = question
|
||||
altgr keycode 53 = Num_Lock
|
||||
|
||||
keycode 54 = Shift
|
||||
keycode 55 =
|
||||
keycode 56 = Alt
|
||||
keycode 57 = space space
|
||||
control keycode 57 = nul
|
||||
keycode 59 = F9
|
||||
keycode 60 = F10
|
||||
keycode 61 = AltGr
|
||||
keycode 62 = Escape
|
||||
keycode 63 = Return
|
||||
keycode 64 = Escape
|
||||
keycode 65 = Down
|
||||
keycode 66 = Up
|
||||
keycode 67 = Control
|
||||
keycode 68 = F13
|
||||
keycode 79 = F15
|
||||
keycode 80 = F16
|
||||
keycode 82 = F17
|
||||
keycode 87 = Return
|
||||
keycode 88 = F11
|
||||
keycode 97 = Control
|
||||
keycode 99 = F12
|
||||
keycode 103 = Up
|
||||
keycode 105 = Left
|
||||
altgr keycode 105 = Decr_Console
|
||||
keycode 106 = Right
|
||||
altgr keycode 106 = Incr_Console
|
||||
keycode 108 = Down
|
||||
string F1 = "\033[[A"
|
||||
string F2 = "\033[[B"
|
||||
string F3 = "\033[[C"
|
||||
string F4 = "\033[[D"
|
||||
string F5 = "\033[[E"
|
||||
string F6 = "\033[17~"
|
||||
string F7 = "\033[18~"
|
||||
string F8 = "\033[19~"
|
||||
string F9 = "\033[20~"
|
||||
string F10 = "\033[21~"
|
||||
string F11 = "\033[23~"
|
||||
string F12 = "\033[24~"
|
||||
string F13 = "\033[25~"
|
||||
string F14 = "\033[26~"
|
||||
string F15 = "\033[28~"
|
||||
string F16 = "\033[29~"
|
||||
string F17 = "\033[31~"
|
||||
string F18 = "\033[32~"
|
||||
string F19 = "\033[33~"
|
||||
string F20 = "\033[34~"
|
||||
string Find = "\033[1~"
|
||||
string Insert = "\033[2~"
|
||||
string Remove = "\033[3~"
|
||||
string Select = "\033[4~"
|
||||
string Prior = "\033[5~"
|
||||
string Next = "\033[6~"
|
||||
string Macro = "\033[M"
|
||||
string Pause = "\033[P"
|
||||
compose '`' 'A' to '<27>'
|
||||
compose '`' 'a' to '<27>'
|
||||
compose '\'' 'A' to '<27>'
|
||||
compose '\'' 'a' to '<27>'
|
||||
compose '^' 'A' to '<27>'
|
||||
compose '^' 'a' to '<27>'
|
||||
compose '~' 'A' to '<27>'
|
||||
compose '~' 'a' to '<27>'
|
||||
compose '"' 'A' to '<27>'
|
||||
compose '"' 'a' to '<27>'
|
||||
compose 'O' 'A' to '<27>'
|
||||
compose 'o' 'a' to '<27>'
|
||||
compose '0' 'A' to '<27>'
|
||||
compose '0' 'a' to '<27>'
|
||||
compose 'A' 'A' to '<27>'
|
||||
compose 'a' 'a' to '<27>'
|
||||
compose 'A' 'E' to '<27>'
|
||||
compose 'a' 'e' to '<27>'
|
||||
compose ',' 'C' to '<27>'
|
||||
compose ',' 'c' to '<27>'
|
||||
compose '`' 'E' to '<27>'
|
||||
compose '`' 'e' to '<27>'
|
||||
compose '\'' 'E' to '<27>'
|
||||
compose '\'' 'e' to '<27>'
|
||||
compose '^' 'E' to '<27>'
|
||||
compose '^' 'e' to '<27>'
|
||||
compose '"' 'E' to '<27>'
|
||||
compose '"' 'e' to '<27>'
|
||||
compose '`' 'I' to '<27>'
|
||||
compose '`' 'i' to '<27>'
|
||||
compose '\'' 'I' to '<27>'
|
||||
compose '\'' 'i' to '<27>'
|
||||
compose '^' 'I' to '<27>'
|
||||
compose '^' 'i' to '<27>'
|
||||
compose '"' 'I' to '<27>'
|
||||
compose '"' 'i' to '<27>'
|
||||
compose '-' 'D' to '<27>'
|
||||
compose '-' 'd' to '<27>'
|
||||
compose '~' 'N' to '<27>'
|
||||
compose '~' 'n' to '<27>'
|
||||
compose '`' 'O' to '<27>'
|
||||
compose '`' 'o' to '<27>'
|
||||
compose '\'' 'O' to '<27>'
|
||||
compose '\'' 'o' to '<27>'
|
||||
compose '^' 'O' to '<27>'
|
||||
compose '^' 'o' to '<27>'
|
||||
compose '~' 'O' to '<27>'
|
||||
compose '~' 'o' to '<27>'
|
||||
compose '"' 'O' to '<27>'
|
||||
compose '"' 'o' to '<27>'
|
||||
compose '/' 'O' to '<27>'
|
||||
compose '/' 'o' to '<27>'
|
||||
compose '`' 'U' to '<27>'
|
||||
compose '`' 'u' to '<27>'
|
||||
compose '\'' 'U' to '<27>'
|
||||
compose '\'' 'u' to '<27>'
|
||||
compose '^' 'U' to '<27>'
|
||||
compose '^' 'u' to '<27>'
|
||||
compose '"' 'U' to '<27>'
|
||||
compose '"' 'u' to '<27>'
|
||||
compose '\'' 'Y' to '<27>'
|
||||
compose '\'' 'y' to '<27>'
|
||||
compose 'T' 'H' to '<27>'
|
||||
compose 't' 'h' to '<27>'
|
||||
compose 's' 's' to '<27>'
|
||||
compose '"' 'y' to '<27>'
|
||||
compose 's' 'z' to '<27>'
|
||||
compose 'i' 'j' to '<27>'
|
||||
61
openembedded/packages/initscripts/initscripts-1.0/uml/devices
vendored
Executable file
61
openembedded/packages/initscripts/initscripts-1.0/uml/devices
vendored
Executable file
@@ -0,0 +1,61 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Devfs handling script. Since we arent running devfsd due to various reasons
|
||||
# which I will not lay out here, we need to create some links for compatibility.
|
||||
|
||||
. /etc/default/rcS
|
||||
|
||||
# exit without doing anything if udev is active
|
||||
if test -e /dev/.udevdb; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if test -e /dev/.devfsd
|
||||
then
|
||||
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi
|
||||
ln -s /dev/touchscreen/0 /dev/ts
|
||||
ln -s /dev/touchscreen/0raw /dev/tsraw
|
||||
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/fb/0 /dev/fb0
|
||||
# ln -s /dev/tts/0 /dev/ttySA0
|
||||
# ln -s /dev/tts/1 /dev/ttySA1
|
||||
# ln -s /dev/tts/2 /dev/ttySA2
|
||||
|
||||
ln -s /dev/sound/dsp /dev/dsp
|
||||
ln -s /dev/sound/mixer /dev/mixer
|
||||
|
||||
ln -s /dev/v4l/video0 /dev/video0
|
||||
ln -s /dev/v4l/video0 /dev/video
|
||||
ln -s /dev/misc/rtc /dev/rtc
|
||||
|
||||
## 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
|
||||
mount -t ramfs ramfs /dev || mount -t tmpfs ramfs /dev
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
|
||||
cd /
|
||||
mkdir -p dev/msys
|
||||
mkdir -p dev/pts
|
||||
ln -sf /proc/self/fd /dev/fd
|
||||
ln -sf /proc/kcore /dev/core
|
||||
/sbin/makedevs -r / -D /etc/device_table
|
||||
if test $? -ne 0; then
|
||||
if test "$VERBOSE" != "no"; then echo "failed"; fi
|
||||
else
|
||||
if test "$VERBOSE" != "no"; then echo "done"; fi
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
18
openembedded/packages/initscripts/initscripts-1.0/umountfs
vendored
Executable file
18
openembedded/packages/initscripts/initscripts-1.0/umountfs
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# umountfs Turn off swap and unmount all local filesystems.
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
echo "Deactivating swap..."
|
||||
swapoff -a
|
||||
|
||||
# We leave /proc mounted.
|
||||
echo "Unmounting local filesystems..."
|
||||
mount -o remount,ro /mnt/ram
|
||||
umount -f -a -r
|
||||
|
||||
mount -o remount,ro /
|
||||
|
||||
: exit 0
|
||||
28
openembedded/packages/initscripts/initscripts-1.0/umountnfs.sh
vendored
Executable file
28
openembedded/packages/initscripts/initscripts-1.0/umountnfs.sh
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# umountnfs.sh Unmount all network filesystems.
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
||||
|
||||
# Write a reboot record to /var/log/wtmp before unmounting
|
||||
halt -w
|
||||
|
||||
echo "Unmounting remote filesystems..."
|
||||
|
||||
test -f /etc/fstab && (
|
||||
|
||||
#
|
||||
# Read through fstab line by line and unount network file systems
|
||||
#
|
||||
while read device mountpt fstype options
|
||||
do
|
||||
if test "$fstype" = nfs || test "$fstype" = smbfs || test "$fstype" = ncpfs
|
||||
then
|
||||
umount -f $mountpt
|
||||
fi
|
||||
done
|
||||
) < /etc/fstab
|
||||
|
||||
: exit 0
|
||||
|
||||
41
openembedded/packages/initscripts/initscripts-1.0/urandom
vendored
Executable file
41
openembedded/packages/initscripts/initscripts-1.0/urandom
vendored
Executable file
@@ -0,0 +1,41 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# urandom This script saves the random seed between reboots.
|
||||
# It is called from the boot, halt and reboot scripts.
|
||||
#
|
||||
# Version: @(#)urandom 1.33 22-Jun-1998 miquels@cistron.nl
|
||||
#
|
||||
|
||||
test -c /dev/urandom || exit 0
|
||||
. /etc/default/rcS
|
||||
|
||||
case "$1" in
|
||||
start|"")
|
||||
test "$VERBOSE" != no && echo "Initializing random number generator..."
|
||||
# Load and then save 512 bytes,
|
||||
# which is the size of the entropy pool
|
||||
if test -f /var/lib/urandom/random-seed
|
||||
then
|
||||
cat /var/lib/urandom/random-seed >/dev/urandom
|
||||
fi
|
||||
rm -f /var/lib/urandom/random-seed
|
||||
umask 077
|
||||
dd if=/dev/urandom of=/var/lib/urandom/random-seed count=1 \
|
||||
>/dev/null 2>&1 || echo "urandom start: failed."
|
||||
umask 022
|
||||
;;
|
||||
stop)
|
||||
# Carry a random seed from shut-down to start-up;
|
||||
# see documentation in linux/drivers/char/random.c
|
||||
test "$VERBOSE" != no && echo "Saving random seed..."
|
||||
umask 077
|
||||
dd if=/dev/urandom of=/var/lib/urandom/random-seed count=1 \
|
||||
>/dev/null 2>&1 || echo "urandom stop: failed."
|
||||
;;
|
||||
*)
|
||||
echo "Usage: urandom {start|stop}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
39
openembedded/packages/initscripts/initscripts-1.0/volatiles
vendored
Normal file
39
openembedded/packages/initscripts/initscripts-1.0/volatiles
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# This configuration file lists filesystem objects that should get verified
|
||||
# during startup and be created if missing.
|
||||
#
|
||||
# Every line must either be a comment starting with #
|
||||
# or a definition of format:
|
||||
# <type> <owner> <group> <mode> <path> [<linksource>]
|
||||
# where the items are separated by whitespace !
|
||||
#
|
||||
# <type> : d|f|l : (d)irectory|(f)ile|(l)ink
|
||||
#
|
||||
# A linking example:
|
||||
# l root root 0777 /var/test /tmp/testfile
|
||||
# f root root 0644 /var/test
|
||||
#
|
||||
# Understanding links:
|
||||
# When populate-volatile is to verify/create a directory or file, it will first
|
||||
# check it's existence. If a link is found to exist in the place of the target,
|
||||
# the path of the target is replaced with the target the link points to.
|
||||
# Thus, if a link is in the place to be verified, the object will be created
|
||||
# in the place the link points to instead.
|
||||
# This explains the order of "link before object" as in the example above, where
|
||||
# a link will be created at /var/test pointing to /tmp/testfile and due to this
|
||||
# link the file defined as /var/test will actually be created as /tmp/testfile.
|
||||
d root root 0775 /var
|
||||
d root root 0755 /var/backups
|
||||
d root root 0755 /var/cache
|
||||
d root root 0755 /var/lib
|
||||
d root root 0755 /var/lib/ipkg
|
||||
d root root 0755 /var/lib/misc
|
||||
d root root 2775 /var/local
|
||||
d root root 1777 /var/lock
|
||||
d root root 0755 /var/lock/subsys
|
||||
d root root 0755 /var/log
|
||||
d root root 0755 /var/run
|
||||
d root root 0755 /var/spool
|
||||
d root root 1777 /var/tmp
|
||||
f root root 0664 /var/run/utmp
|
||||
f root root 0664 /var/log/wtmp
|
||||
f root root 0664 /var/log/lastlog
|
||||
Reference in New Issue
Block a user