aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 9213b86f..231290bb 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -136,10 +136,10 @@ fi
if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then
# Get ready for kerneld if module support in the kernel
echo -n "Finding module dependencies... "
- if [ -f /lib/modules/preferred ]; then
+ if [ -e /lib/modules/preferred ]; then
depmod -a preferred
else
- depmod -a preferred
+ depmod -a
fi
echo "done"
fi