summaryrefslogtreecommitdiff
path: root/hooks/kernelextras
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/kernelextras')
-rwxr-xr-xhooks/kernelextras44
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