]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - mod-usbkbd.sh
add debug and verbose output
[projects/geninitrd.git] / mod-usbkbd.sh
index 0c2a7d27f5c77c083b4634df5be8f89c78c099b7..b4fc0f4e204ece4d8ba4df439d053a8ddb3b7254 100644 (file)
@@ -4,7 +4,7 @@ USBKBD_RCSID='$Revision$ $Date::                            $'
 # geninitrd mod: usbkbd
 
 find_modules_usbkbd() {
-       debug "Finding USB keyboard modules"
+       verbose "Finding USB keyboard modules"
 
        if [ "$(echo /sys/class/input/input*)" = "/sys/class/input/input*" ]; then
                return
@@ -20,9 +20,9 @@ find_modules_usbkbd() {
                        if [ "$bInterfaceClass" = "03" -a "$bInterfaceProtocol" = "01" ]; then
                                module=$(readlink $i/device/driver/module)
                                module=$(basename $module)
-       
+
                                if [ -n "$module" ]; then
-                                       debug "Found USB Keyboard: $(cat $i/name)"
+                                       verbose "Found USB Keyboard: $(cat $i/name)"
                                        modules="$modules $module"
                                fi
                        fi
@@ -34,7 +34,7 @@ find_modules_usbkbd() {
                        module=$(basename $module)
 
                        if [ -n "$module" ]; then
-                               debug "Found USB Logitech Unifying Device: $(cat $i/name)"
+                               verbose "Found USB Logitech Unifying Device: $(cat $i/name)"
                                modules="$modules $module"
                        fi
                fi
This page took 0.078678 seconds and 4 git commands to generate.