# hook-addon for framebuffer support # from initramfs-tools for tcos . /usr/share/initramfs-tools/hook-functions copy_modules_dir kernel/drivers/char/agp copy_modules_dir kernel/drivers/gpu manual_add_modules fbcon manual_add_modules vesafb manual_add_modules vga16fb for x in /lib/modules/${TCOS_KERNEL}/initrd/*; do x=${x##*/} x=${x%.*} case ${x} in '*') break ;; *fb) fbcon=y ;; esac manual_add_modules ${x} done