Whamcloud - gitweb
4b623f699b26881ab4ab20515df87e0b86337dc6
[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