#!/bin/sh
# The environment contains at least:
#
# CONFDIR -- usually /etc/mkinitramfs, can be set on mkinitramfs
# command line.
#
# DESTDIR -- The staging directory where we are building the image.
#
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
# You can do anything you need to from here on.
#
# Source the optional 'hook-functions' scriptlet, if you need the
# functions defined within it. Read it to see what is available to
# you. It contains functions for copying dynamically linked program
# binaries, and kernel modules into the DESTDIR.
#
. /usr/share/initramfs-tools/hook-functions
mkdir -p $DESTDIR/opt/netapp/santools
copy_exec /opt/netapp/santools/mpath_prio_netapp /opt/netapp/santools/
copy_exec /sbin/mpath_prio_netapp /sbin/
cp /etc/multipath.conf $DESTDIR/etc/
exit 0
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment