POSTIN
/bin/sh
# get rid of the old installations on upgrade
if [ -x /etc/rc.d/init.d/kerneld ] ; then
/sbin/chkconfig --del kerneld
fi
if [ -f /etc/conf.modules -a ! -f /etc/modules.conf ] ; then
mv -f /etc/conf.modules /etc/modules.conf
fi
if [ -f /etc/modules.conf -a ! -f /etc/modprobe.conf ] ; then
echo "# Note: for use under 2.4, changes must also be made to modules.conf!" >/etc/modprobe.conf
/sbin/generate-modprobe.conf --stdin < /etc/modules.conf >> /etc/modprobe.conf 2>/dev/null
chmod 644 /etc/modprobe.conf
echo "# Note: for use under 2.6, changes must also be made to modprobe.conf!" >> /etc/modules.conf
fi