Skip to contentSkip to conversation

/etc/hotplug/usb.agent (updated)

PATCH New Kameron Hoffs 1 participant 1 message Jan 13, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 /etc/hotplug/usb.agent (updated)

I really shouldn't post when tired. I apoligize for the extra quotes in the original and the wrong file name in the header.

Sincerely,

--
Kameron Hoffs
[email protected]
[email protected]

etc/hotplug/usb.agent 2004-01-11 10:13:16.724492096 -0700 renamed from etc/hotplug/usb.agent.old 2004-01-10 22:49:58.000000000 -0700 +1 -1
@@ -141,7 +141,7 @@ 
    if [ "$PRODUCT" = "" ]; then
     # this could care about changing the default config, or warning
     # when the user hooked a fast device up so it runs slowly.
     TMP=$(cat $SYSFS/$DEVPATH/bNumConfigurations)
-    if [ $TMP -ne 1 -a $ACTION = add ]; then
+    if [ "$TMP" != "1" ] && [ "$ACTION" = 'add' ]; then
        mesg Keeping default configuration with $SYSFS/$DEVPATH
     fi	

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel