* [PATCH] /etc/hotplug/usb.agent (updated)
@ 2004-01-13 4:37 Kameron Hoffs
0 siblings, 0 replies; only message in thread
From: Kameron Hoffs @ 2004-01-13 4:37 UTC (permalink / raw)
To: linux-hotplug
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
ivorytiger@qwest.net
kjhoffs@us.ibm.com
--- /etc/hotplug/usb.agent.old 2004-01-10 22:49:58.000000000 -0700
+++ /etc/hotplug/usb.agent 2004-01-11 10:13:16.724492096 -0700
@@ -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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-13 4:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-13 4:37 [PATCH] /etc/hotplug/usb.agent (updated) Kameron Hoffs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).