echo "fi" >> ${script}
;;
post)
+ # /sbin/update-modules.dep compares when the modules were built, rather
+ # than installed, so force modules.dep to be recreated
+ echo "rm -f /lib/modules/%{KVERREL}${flavor}/modules.dep" >> ${script}
echo "if [ -f /etc/modprobe.conf ] ; then" >> ${script}
sed -e "s^%ver_str^%{KVERREL}${flavor}^g" %{SOURCE26} >> ${script}
if [ ! -e /dev/obd ]; then
mknod /dev/obd c 10 241
fi
-if [ ! -e /dev/portals ]; then
- mknod /dev/portals c 10 240
+if [ ! -e /dev/lnet ]; then
+ mknod /dev/lnet c 10 240
fi
if [ -f /etc/init.d/lustre ] ; then
/sbin/chkconfig --add lustre