|
@@ -77,7 +77,12 @@ do_start() {
|
|
|
fi
|
|
|
|
|
|
# Usually aoe is a module, so we will try to load it.
|
|
|
- modprobe aoe >/dev/null 2>&1 || true
|
|
|
+ if [ -n "$INTERFACES" ]
|
|
|
+ then
|
|
|
+ modprobe aoe aoe_iflist="$INTERFACES" >/dev/null 2>&1 || true
|
|
|
+ else
|
|
|
+ modprobe aoe >/dev/null 2>&1 || true
|
|
|
+ fi
|
|
|
|
|
|
# Also, if udev is being used, the /dev/etherd devices
|
|
|
# are not created until aoe module insertion, so...
|
|
@@ -112,7 +117,7 @@ do_start() {
|
|
|
echo
|
|
|
echo "The LVM2 tools are not present. Please install lvm2 package and try again." >&2
|
|
|
echo "We will not honour LVMGROUPS." >&2
|
|
|
- LMVGROUPS=""
|
|
|
+ LMVGROUPS=''
|
|
|
fi
|
|
|
|
|
|
if [ -n "$LVMGROUPS" ]
|