summaryrefslogtreecommitdiffstats
path: root/system-boot/backend/initramfs-tools/kms.hook
blob: 7302c12f6f57a419e52a56bae86cd9be52f4b7d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh
# hook for adding kms modules

set -e

# initramfs-tools header

PREREQ=""
prereqs()
{
	echo "${PREREQ}"
}

case "${1}" in
	prereqs)
		prereqs
		exit 0
		;;
esac

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

for module in i915 radeon nouveau ; do
	manual_add_modules $module
done