aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnson <jbj@redhat.com>1998-07-01 18:14:38 +0000
committerJeff Johnson <jbj@redhat.com>1998-07-01 18:14:38 +0000
commitd64366bc8310d35824626b6c99c48628f0ed70ee (patch)
tree74fa7a6616668175df73a378b913798ab61c6e3e
parentf5fe0c6bb25fd007186c832e408d089fe6dd1daa (diff)
downloadinitscripts-r3-67.tar
initscripts-r3-67.tar.gz
initscripts-r3-67.tar.bz2
initscripts-r3-67.tar.xz
initscripts-r3-67.zip
Perform rhkmvtag magic with module-info.r3-67
-rwxr-xr-xrc.d/rc.sysinit3
1 files changed, 2 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 73680425..ba0ec2e4 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -111,7 +111,7 @@ else
USEMODULES=
fi
-# Set up /lib/modules/preferred and /boot/System.map symlinks.
+# Set up kernel version-dependent symlinks.
rm -f /lib/modules/preferred
if [ -n $USEMODULES ]; then
ktag="`cat /proc/version`"
@@ -120,6 +120,7 @@ if [ -n $USEMODULES ]; then
mver=`echo $mtag | sed -e 's,/lib/modules/,,' -e 's,/.rhkmvtag,,'`
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