summaryrefslogtreecommitdiffstats
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 8f45aa13..9213b86f 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -113,7 +113,7 @@ fi
# Get the modules ready to go -- we use awk here as cut is in /usr/bin
rm -f /lib/modules/preferred
-if [ -n $USEMODULES -a ! -d /lib/modules/`uname -r` ]; then
+if [ -n $USEMODULES ]; then
set `cat /proc/cmdline`
while [ $# -gt 0 ]; do
if echo $1 | grep '^BOOT_IMAGE=' > /dev/null ; then