/usr/share/initramfs-tools/scripts/local-top/aoe is in aoetools 36-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #!/bin/sh
set -e
PREREQ="udev"
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
# Bring in the main config
. /conf/initramfs.conf
for conf in conf/conf.d/*; do
[ -f ${conf} ] && . ${conf}
done
. /scripts/functions
configure_networking
# Make sure udev has processed all events from adding the NIC
# modules before loading aoe
wait_for_udev 10
modprobe aoe
# Wait until aoe device files have been generated.
wait_for_udev 10
[ -x /sbin/aoe-discover ] && aoe-discover
|