summaryrefslogtreecommitdiff
path: root/scripts/init-top
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-25 14:40:45 +0100
committermaximilian attems <max@stro.at>2008-03-25 14:40:45 +0100
commit0aec8b0c22b7622841c4ab7a3b492b4d2657456f (patch)
tree38efac8da67426f55835a2de5e47ad2a1daad981 /scripts/init-top
parente4b83628580eb117cd3759f10d4882802cad203c (diff)
framebuffer: Let udev create fb devices.
nuke fb device mknod creation as udev creates the fb device nodes. suggested by waldi. positive test on qemu with usplash. let's see if we get a bad interaction with usplash and vga=XXX boots.
Diffstat (limited to 'scripts/init-top')
-rwxr-xr-xscripts/init-top/framebuffer9
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/init-top/framebuffer b/scripts/init-top/framebuffer
index 2427b47..cb1ea2c 100755
--- a/scripts/init-top/framebuffer
+++ b/scripts/init-top/framebuffer
@@ -86,15 +86,6 @@ if [ -n "${FB}" ]; then
modprobe ${FB} ${OPTS}
fi
-if [ -e /proc/fb ]; then
- while read fbno desc; do
- if [ $(($fbno < 32)) ]; then
- mknod /dev/fb${fbno} c 29 ${fbno}
- fi
- done < /proc/fb
-else
- mknod /dev/fb0 c 29 0
-fi
for i in 0 1 2 3 4 5 6 7 8; do
mknod /dev/tty${i} c 4 ${i}
done