Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > cd01c621f5e98bd9dc2907e89f4d109c > scriptlet

module-init-tools-3.3-0.pre3.1.63.el5.x86_64.rpm

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