Whamcloud - gitweb
LU-14641 osd-ldiskfs: write commit declaring improvement
[fs/lustre-release.git] / debian / postinst
1 #!/bin/sh
2
3 DEPMOD_DIR="/etc/depmod.d"
4 LUSTRE_DEPMOD_FILE="${DEPMOD_DIR}/lustre.conf"
5
6 [ ! -d ${DEPMOD_DIR} ] && { mkdir -p ${DEPMOD_DIR}; }
7 [ ! -e ${LUSTRE_DEPMOD_FILE} ] && { echo "search updates/kernel built-in" > ${LUSTRE_DEPMOD_FILE}; }
8
9 depmod -a