Author: dnicholson
Date: 2006-07-14 15:29:28 -0600 (Fri, 14 Jul 2006)
New Revision: 7672

Modified:
   trunk/udev-config/25-lfs.rules
   trunk/udev-config/CHANGELOG
Log:
Fixed usbdev PROGRAM to work with BusyBox /bin/sh


Modified: trunk/udev-config/25-lfs.rules
===================================================================
--- trunk/udev-config/25-lfs.rules      2006-07-14 16:53:01 UTC (rev 7671)
+++ trunk/udev-config/25-lfs.rules      2006-07-14 21:29:28 UTC (rev 7672)
@@ -84,7 +84,7 @@
 
 # USB devices go in their own subdirectory
 
-SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} 
B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", NAME="%c"
+SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'X=%k; X=$${X#usbdev}; 
B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", NAME="%c"
 KERNEL=="hiddev*",          NAME="usb/%k"
 KERNEL=="auer*",            NAME="usb/%k"
 KERNEL=="legousbtower*",    NAME="usb/%k"

Modified: trunk/udev-config/CHANGELOG
===================================================================
--- trunk/udev-config/CHANGELOG 2006-07-14 16:53:01 UTC (rev 7671)
+++ trunk/udev-config/CHANGELOG 2006-07-14 21:29:28 UTC (rev 7672)
@@ -1,3 +1,7 @@
+dnicholson - Jul 14, 2006
+       * Fixed usbdev PROGRAM so that it works with the BusyBox sh. Thanks
+         to Anthony Wright.
+
 n/a - Jul 12, 2006
        * Added options so temporary nodes are not created with device-mapper
        * Adapted cdrom rules to identify CD-ROM drives correctly by adding

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to