Author: jpc                          Date: Mon Aug 29 12:13:55 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- a patch for the hotplug script
- is it really needed? (I think it is but I'm not sure...)

---- Files affected:
SOURCES:
   go7007-hotplug.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/go7007-hotplug.patch
diff -u /dev/null SOURCES/go7007-hotplug.patch:1.1
--- /dev/null   Mon Aug 29 14:13:55 2005
+++ SOURCES/go7007-hotplug.patch        Mon Aug 29 14:13:50 2005
@@ -0,0 +1,16 @@
+--- wis-go7007-linux-0.9.6/hotplug/wis-ezusb.in~       2005-08-04 
04:04:01.000000000 +0200
++++ wis-go7007-linux-0.9.6/hotplug/wis-ezusb.in        2005-08-28 
20:02:17.147394816 +0200
+@@ -84,10 +84,11 @@
+ fi
+ 
+ $LOADER $FLAGS -I $FIRMWARE
++$RETVAL=$?
+ 
+-if [ $? -gt 0 ]; then
++if [ $RETVAL -gt 0 ]; then
+     if [ -x /usr/bin/logger ]; then
+-        /usr/bin/logger -t $0 "error $? returned by $LOADER $FLAGS -I 
$FIRMWARE"
++        /usr/bin/logger -t $0 "error $RETVAL returned by $LOADER $FLAGS -I 
$FIRMWARE"
+     fi
+     exit 1
+ fi
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to