]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
Tell us what was found.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 15 Oct 2011 08:56:50 +0000 (08:56 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 15 Oct 2011 08:56:50 +0000 (08:56 +0000)
svn-id: @12376

mod-usbkbd.sh

index 98809ae958bf72b7bb6b8632304f5ef913ccdd51..d666ad88b698fbd9ba50910d5a4111187fcf476b 100644 (file)
@@ -25,7 +25,10 @@ find_modules_usbkbd() {
                        module=$(readlink $i/device/driver/module)
                        module=$(basename $module)
 
-                       modules="$modules $module"
+                       if [ -n "$module" ]; then
+                               debug "Found USB Keyboard: $(cat $i/name)"
+                               modules="$modules $module"
+                       fi
                fi
        done
 
This page took 0.03774 seconds and 4 git commands to generate.