aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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