aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-02-11 19:23:50 +0000
committerBill Nottingham <notting@redhat.com>1999-02-11 19:23:50 +0000
commit291ddd01b6577090da23028b2ae0643008420f80 (patch)
tree5aee8312c928a4e1fc0e4dbf7ff4e4534c3ddf1d /rc.d
parent4c633c35d1830e8214db014eaccd767bc6733e7a (diff)
downloadinitscripts-291ddd01b6577090da23028b2ae0643008420f80.tar
initscripts-291ddd01b6577090da23028b2ae0643008420f80.tar.gz
initscripts-291ddd01b6577090da23028b2ae0643008420f80.tar.bz2
initscripts-291ddd01b6577090da23028b2ae0643008420f80.tar.xz
initscripts-291ddd01b6577090da23028b2ae0643008420f80.zip
Remove support for modules/preferred, since we don't need it anymore.
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit22
1 files changed, 2 insertions, 20 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index a489d194..bb22371a 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -124,27 +124,9 @@ else
USEMODULES=
fi
-# Set up kernel version-dependent symlinks.
-rm -f /lib/modules/preferred
-
-if [ -n "$USEMODULES" ]; then
- ktag="`cat /proc/version`"
- mtag=`grep -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,[ ].*$,,'`
- ln -sf /lib/modules/$mver /lib/modules/preferred
- ln -sf /boot/System.map-$mver /boot/System.map
- ln -sf /boot/module-info-$mver /boot/module-info
- fi
-fi
-
if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
- # Get ready for kerneld if module support in the kernel
- if [ -e /lib/modules/preferred ]; then
- action "Finding module dependencies" depmod -a preferred
- else
- action "Finding module dependencies" depmod -a
- fi
+ # Get ready for kerneld/kmod if module support in the kernel
+ action "Finding module dependencies" depmod -a
fi
# load sound modules