diff options
-rw-r--r-- | mandriva/rc.modules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mandriva/rc.modules b/mandriva/rc.modules index e5f7e01b..da5619d1 100644 --- a/mandriva/rc.modules +++ b/mandriva/rc.modules @@ -38,7 +38,7 @@ for f in $MODULES $MODULES_D/*; do [ -n "$NEW" ] && TOLOAD="$TOLOAD $NEW" done -if [ -n "$TOLOAD" ]; then - logger -t $0 "Loading modules:"$TOLOAD - /sbin/modprobe -a $TOLOAD 2>/dev/null -fi +[ -z "$TOLOAD" ] && exit 0 + +logger -t $0 "Loading modules:"$TOLOAD +/sbin/modprobe -a $TOLOAD 2>/dev/null |