27 lines
343 B
Text
27 lines
343 B
Text
|
#!/bin/sh
|
||
|
|
||
|
PREREQ=""
|
||
|
|
||
|
prereqs()
|
||
|
{
|
||
|
echo "$PREREQ"
|
||
|
}
|
||
|
|
||
|
case $1 in
|
||
|
# get pre-requisites
|
||
|
prereqs)
|
||
|
prereqs
|
||
|
exit 0
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
. /usr/share/initramfs-tools/hook-functions
|
||
|
|
||
|
# module-init-tools
|
||
|
copy_exec /sbin/modprobe /sbin
|
||
|
copy_exec /sbin/rmmod /sbin
|
||
|
mkdir -p "${DESTDIR}/etc/modprobe.d"
|
||
|
cp -a /etc/modprobe.d/* "${DESTDIR}/etc/modprobe.d/"
|
||
|
|
||
|
exit 0
|