]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
USLEEP not SLEEP + small fixes.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 17 Nov 2005 13:04:08 +0000 (13:04 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 17 Nov 2005 13:04:08 +0000 (13:04 +0000)
svn-id: @6539

geninitrd

index e8c4d3331d04f04a11ad75417149fb04011b048a..68ffb05190e505e2e7b0f339141c315468927935 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -668,7 +668,7 @@ modules_add_linuxrc() {
                MODULE2=$MODULE2/$NAME2
                module="`echo $mod | awk -F/ '{ $0=$NF } /'$modext'.*$/ { gsub(/'$modext'.*/, NIL, $0); } { print $0; }'`"
                options="`awk '{ if($1 == "options" && $2 == "'${module}'") { for(i=3;i<=NF;i++) printf("%s ",$i); }}' "$modulefile"`"
-               eval sleep_var="MODULE_${module}_SLEEP"
+               eval sleep_var="\$MODULE_${module}_USLEEP"
 
                if [ -n "$verbose" ]; then
                        echo -n "Loading module [$module] "
@@ -678,7 +678,7 @@ modules_add_linuxrc() {
                                echo -n "without options"
                        fi
                        if [ -n "$sleep_var" ]; then
-                               echo " and $sleep_var sleep."
+                               echo " and $sleep_var usleep."
                        else
                                echo "."
                        fi
This page took 0.043285 seconds and 4 git commands to generate.