Browse Source

fcoe: install hba.conf and libhbalinux only if hba.conf exists

master
Harald Hoyer 8 years ago
parent
commit
1279a9e1a0
  1. 6
      modules.d/95fcoe/module-setup.sh

6
modules.d/95fcoe/module-setup.sh

@ -68,8 +68,10 @@ cmdline() { @@ -68,8 +68,10 @@ cmdline() {
# called by dracut
install() {
inst_multiple ip dcbtool fipvlan lldpad readlink lldptool fcoemon fcoeadm
inst_libdir_file 'libhbalinux.so*'
inst "/etc/hba.conf" "/etc/hba.conf"
if [ -e "/etc/hba.conf" ]; then
inst_libdir_file 'libhbalinux.so*'
inst_simple "/etc/hba.conf"
fi

mkdir -m 0755 -p "$initdir/var/lib/lldpad"
mkdir -m 0755 -p "$initdir/etc/fcoe"

Loading…
Cancel
Save