aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-01-28 06:33:18 +0000
committerBill Nottingham <notting@redhat.com>2004-01-28 06:33:18 +0000
commitb6dbcf3e817a5c76a79cc2766e6045682da8c009 (patch)
tree500b046b7e7cb873b461305025dd232a240b4fa7
parent3e71816595d8cb5d96a4279f972650fa7b88979f (diff)
downloadinitscripts-b6dbcf3e817a5c76a79cc2766e6045682da8c009.tar
initscripts-b6dbcf3e817a5c76a79cc2766e6045682da8c009.tar.gz
initscripts-b6dbcf3e817a5c76a79cc2766e6045682da8c009.tar.bz2
initscripts-b6dbcf3e817a5c76a79cc2766e6045682da8c009.tar.xz
initscripts-b6dbcf3e817a5c76a79cc2766e6045682da8c009.zip
remove boot-time depmod. All kernel module installs must run it on
installation of modules now.
-rwxr-xr-xrc.d/rc.sysinit22
1 files changed, 0 insertions, 22 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 02049bd4..c6763372 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -393,28 +393,6 @@ fi
unamer=`uname -r`
-# Our modutils don't support it anymore, so we might as well remove
-# the preferred link.
-rm -f /lib/modules/preferred /lib/modules/default
-if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
- # If they aren't using a recent sane kernel, make a link for them
- if ! strstr $unamer - ; then
- ktag="`cat /proc/version`"
- mtag=`LC_ALL=C fgrep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null`
- if [ -n "$mtag" ]; then
- mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,' -e 's,[ ].*$,,'`
- fi
- if [ -n "$mver" ]; then
- ln -sf /lib/modules/$mver /lib/modules/default
- fi
- fi
- if [ -L /lib/modules/default ]; then
- INITLOG_ARGS= action $"Finding module dependencies: " depmod -A default
- else
- INITLOG_ARGS= action $"Finding module dependencies: " depmod -A
- fi
-fi
-
# tweak isapnp settings if needed.
if [ -n "$PNP" -a -f /proc/isapnp -a -x /sbin/sndconfig ]; then
/sbin/sndconfig --mungepnp >/dev/null 2>&1