void-packages/srcpkgs/initramfs-tools/files/hooks/drm-kms

28 lines
349 B
Bash
Executable File

#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
# Hook to add the DRM/KMS modules
. ${ROOTDIR}/usr/share/initramfs-tools/hook-functions
manual_add_modules fbcon
manual_add_modules intel-agp
manual_add_modules ati-agp
manual_add_modules i915
manual_add_modules radeon
exit 0