diff options
Diffstat (limited to 'packages/udev/files/udev.rules')
-rw-r--r-- | packages/udev/files/udev.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/udev/files/udev.rules b/packages/udev/files/udev.rules index 044ababa7f..5c566f6cef 100644 --- a/packages/udev/files/udev.rules +++ b/packages/udev/files/udev.rules @@ -28,7 +28,7 @@ BUS=="usb", KERNEL=="ttyUSB*", SYSFS{product}=="Palm Handheld*", \ # usbfs-like devices SUBSYSTEM=="usb_device", \ - PROGRAM="/bin/sh -c 'X=%k X=$${X#usbdev} B=$${X%%%%.*} D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" + PROGRAM="/bin/sh -c 'export X=%k; export X=$${X#usbdev}; export B=$${X%%%%.*}; export D=$${X#*.}; echo bus/usb/$$B/$$D'", SYMLINK+="%c" # serial devices KERNEL=="capi", NAME="capi20", SYMLINK+="isdn/capi20" |