diff options
author | Jeff Johnson <jbj@redhat.com> | 1998-07-01 18:14:38 +0000 |
---|---|---|
committer | Jeff Johnson <jbj@redhat.com> | 1998-07-01 18:14:38 +0000 |
commit | d64366bc8310d35824626b6c99c48628f0ed70ee (patch) | |
tree | 74fa7a6616668175df73a378b913798ab61c6e3e /rc.d | |
parent | f5fe0c6bb25fd007186c832e408d089fe6dd1daa (diff) | |
download | initscripts-d64366bc8310d35824626b6c99c48628f0ed70ee.tar initscripts-d64366bc8310d35824626b6c99c48628f0ed70ee.tar.gz initscripts-d64366bc8310d35824626b6c99c48628f0ed70ee.tar.bz2 initscripts-d64366bc8310d35824626b6c99c48628f0ed70ee.tar.xz initscripts-d64366bc8310d35824626b6c99c48628f0ed70ee.zip |
Perform rhkmvtag magic with module-info.r3-67
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 3 |
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 |