diff options
author | maximilian attems <maks@debian.org> | 2009-07-29 15:45:47 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-07-29 15:45:47 +0200 |
commit | 0bb01935dd103bc64462ad2f8774773b5e594098 (patch) | |
tree | 6fe6cbbbb13abb2d490e7c04b5e8a18b90801ac6 /hooks | |
parent | 0d74255b03b80bf8102d007feb86a941ecc35ed0 (diff) | |
download | initramfs-tools-0bb01935dd103bc64462ad2f8774773b5e594098.tar.gz initramfs-tools-0bb01935dd103bc64462ad2f8774773b5e594098.zip |
nuke kernelextras hook
adds fbcon vga16fb for usplash,
as this not useful for default just remove it.
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/kernelextras | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/hooks/kernelextras b/hooks/kernelextras deleted file mode 100755 index 714e9a9..0000000 --- a/hooks/kernelextras +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -PREREQ="" - -prereqs() -{ - echo "$PREREQ" -} - -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -# Hooks for loading extra kernel bits into the initramfs - -. /usr/share/initramfs-tools/hook-functions - -fbcon=n - -for x in ${MODULESDIR}/initrd/*; do - x=${x##*/} - x=${x%.*} - case ${x} in - '*') - break - ;; - *fb) - fbcon=y - ;; - esac - - force_load ${x} -done - -# And add vga16fb for usplash to use as well -manual_add_modules vga16fb - -if [ ${fbcon} = "y" ]; then - force_load fbcon -fi |