2 # SPDX-License-Identifier: NOASSERTION
5 # This file is part of Lustre, http://www.lustre.org/
9 # Script run before Lustre module/utils are installed
12 DEPMOD_DIR="/etc/depmod.d"
13 LUSTRE_DEPMOD_FILE="${DEPMOD_DIR}/lustre.conf"
15 [ ! -d ${DEPMOD_DIR} ] && { mkdir -p ${DEPMOD_DIR}; }
16 [ ! -e ${LUSTRE_DEPMOD_FILE} ] && { echo "search updates/kernel built-in" > ${LUSTRE_DEPMOD_FILE}; }