]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Bug fix: bsp was never used.
authorMichal Moskal <michal@moskal.me>
Fri, 15 Dec 2000 17:17:38 +0000 (17:17 +0000)
committerMichal Moskal <michal@moskal.me>
Fri, 15 Dec 2000 17:17:38 +0000 (17:17 +0000)
svn-id: @1171

geninitrd

index e63712d1d0a02cee4ef0225672b3575611857bd0..16d88691bb5cdb480f7254166cd611c7419c2198 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -319,12 +319,12 @@ if is_yes "`echo $rootdev | cut -d/ -f3 | awk '/loop/ { print "yes"; }'`" ; then
     BASICMODULES="$BASICMODULES -loop"
     findmodule "-$loopFs"
     BASICMODULES="$BASICMODULES -${loopFs}"
-else # Check for other filesystems
-    rootFs=`awk '{if ($2 == "/") {print $3}}' $fstab`
-    findmodule "-$rootFs"
     # don't have any clue, how is this supposed to work,
     # anyway no bsp
     USEBSP="no"
+else # Check for other filesystems
+    rootFs=`awk '{if ($2 == "/") {print $3}}' $fstab`
+    findmodule "-$rootFs"
 fi
 
 for n in $BASICMODULES; do 
This page took 0.161761 seconds and 4 git commands to generate.