aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-03-31 22:55:47 +0000
committerBill Nottingham <notting@redhat.com>1999-03-31 22:55:47 +0000
commit410d54e9fb6344f19adb1f1fec9820bf631ad560 (patch)
tree3b07781dade9c5df64ae62d810f03aa8a68d68cd /rc.d
parent27588a903d0e6fd4ad79d57e5c47095842335c0e (diff)
downloadinitscripts-410d54e9fb6344f19adb1f1fec9820bf631ad560.tar
initscripts-410d54e9fb6344f19adb1f1fec9820bf631ad560.tar.gz
initscripts-410d54e9fb6344f19adb1f1fec9820bf631ad560.tar.bz2
initscripts-410d54e9fb6344f19adb1f1fec9820bf631ad560.tar.xz
initscripts-410d54e9fb6344f19adb1f1fec9820bf631ad560.zip
link system.map in all cases, not just old kernels
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 6d2b0192..ba800a56 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -152,10 +152,10 @@ if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
fi
if [ -n "$mver" ]; then
ln -sf /lib/modules/$mver /lib/modules/default
- ln -sf /boot/System.map-$mver /boot/System.map
fi
fi
[ -n "$mver" -a -f "/boot/module-info-$mver" ] && ln -sf /boot/module-info-$mver /boot/module-info
+ [ -n "$mver" -a -f "/boot/System.map-$mver" ] && ln -sf /boot/System.map-$mver /boot/System.map
action "Finding module dependencies" depmod -a
fi