2 # geninitrd mod: uvesafb
3 USE_V86D=${USE_V86D:-yes}
5 # whether v86d should be installed
8 # setup geninitrd module
11 v86d=$(find_tool $initrd_dir/v86d /sbin/v86d)
13 if [ ! -x "$v86d" ]; then
18 # find modules for for fbsplash
20 find_modules_uvesafb() {
21 if ! is_yes "$USE_V86D"; then
25 # if we are adding uvesafb, we need v86d as well
28 if [[ "$m" = *uvesafb* ]]; then
34 # generate initrd fragment
36 initrd_gen_uvesafb() {
37 if ! is_yes "$need_uvesafb"; then
41 verbose "initrd_gen_uvesafb"
42 mknod -m 640 $DESTDIR/dev/mem c 1 1
43 mknod -m 600 $DESTDIR/dev/tty1 c 4 1
48 initrd_gen_stop_uvesafb() {
49 if ! is_yes "$need_uvesafb"; then
53 busybox_applet killall