0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.137.214.16


Current Path : /proc/thread-self/root/usr/share/initramfs-tools/hooks/
Upload File :
Current File : //proc/thread-self/root/usr/share/initramfs-tools/hooks/framebuffer

#!/bin/sh

OPTION=FRAMEBUFFER
PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

. /usr/share/initramfs-tools/hook-functions

copy_modules_dir kernel/drivers/char/agp
copy_modules_dir kernel/drivers/gpu
copy_modules_dir kernel/ubuntu/i915

manual_add_modules fbcon
manual_add_modules vesafb
manual_add_modules vga16fb

for x in ${MODULESDIR}/initrd/*; do
	x=${x##*/}
	x=${x%.*}
	case ${x} in
	'*')
		break
		;;
	*fb)
		fbcon=y
		;;
	esac

	manual_add_modules ${x}
done