Comment 17 for bug 22107

Revision history for this message
Phillip Susi (psusi) wrote : Re: Breezy RC missing dmraid support needed to access SATA raids

(From update of attachment 4241)
#!/bin/sh
# copied from /usr/share/doc/initramfs-tools/examples/example_hook

# no pre-requirements
PREREQ=""

prereqs()
{
 echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
 prereqs
 exit 0
 ;;
esac

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

if [ -x /sbin/dmraid ]; then
 copy_exec /sbin/dmraid sbin
fi

manual_add_modules dm-mod
exit 0