2 UVESAFB_RCSID='$Revision$ $Date:: $'
4 # geninitrd mod: uvesafb
5 USE_V86D=${USE_V86D:-yes}
7 # whether v86d should be installed
10 # setup geninitrd module
13 v86d=$(find_tool $initrd_dir/v86d /sbin/v86d)
15 if [ ! -x "$v86d" ]; then
20 # find modules for for fbsplash
22 find_modules_uvesafb() {
23 if ! is_yes "$USE_V86D"; then
27 # if we are adding uvesafb, we need v86d as well
30 if [[ "$m" = *uvesafb* ]]; then
36 # generate initrd fragment
38 initrd_gen_uvesafb() {
39 if ! is_yes "$need_uvesafb"; then
43 debug "initrd_gen_uvesafb"
44 mknod $DESTDIR/dev/mem c 1 1
45 mknod $DESTDIR/dev/tty1 c 4 1
50 initrd_gen_stop_uvesafb() {
51 if ! is_yes "$need_uvesafb"; then
55 busybox_applet killall