aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc.sysinit')
-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 536c2b25..cdc2a8f6 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -184,10 +184,11 @@ if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
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
- if [ -L /lib/modules/default ]
+ if [ -L /lib/modules/default ]; then
action "Finding module dependencies" depmod -a default
else
action "Finding module dependencies" depmod -a
+ fi
fi
# load sound modules