]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
better message if modules is loadded without options
authorArtur Frysiak <artur@frysiak.net>
Tue, 3 Jul 2001 10:45:13 +0000 (10:45 +0000)
committerArtur Frysiak <artur@frysiak.net>
Tue, 3 Jul 2001 10:45:13 +0000 (10:45 +0000)
svn-id: @1199

geninitrd

index 89e81199d9863b1f53b116cf0ccb98206d64afe6..9346bc8c52c1a0cf2c4b8d356527ec168898eb82 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -529,7 +529,12 @@ if is_yes "$USEBSP" ; then
                options="`awk '{ if($1 == "options" && $2 == "'${module}'") { for(i=3;i<=NF;i++) printf("%s ",$i); }}' "$modulefile"`"
     
                if [ -n "$verbose" ]; then
-                       echo "Loading module $module with options $options"
+                       /bin/echo -n "Loading module $module "
+                       if [ -n "$options"]
+                               echo "with options $options"
+                       else
+                               echo "without options"
+                       fi
                fi
                echo "insmod /lib/modules/$kernel/$MODULE $options" >> "$s"
        done
This page took 0.051731 seconds and 4 git commands to generate.