]> err.no Git - systemd/commitdiff
rules: Fedora update
authorHarald Hoyer <harald@redhat.com>
Thu, 13 Mar 2008 14:57:33 +0000 (15:57 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 13 Mar 2008 14:57:33 +0000 (15:57 +0100)
etc/udev/redhat/40-redhat.rules

index 30da7d3bdca2686c59ede80b22fda464466eb9f2..446cc6d1d5565d7d2f7faf701101eb68e3296dc3 100644 (file)
@@ -5,12 +5,10 @@ KERNEL=="hd*[0-9]", ATTRS{media}=="floppy", ATTRS{removable}=="1", SYMLINK+="flo
 
 KERNEL=="fw*", PROGRAM="fw_unit_symlinks.sh %k %n", SYMLINK+="$result"
 
-ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="[36]", SYMLINK+="scanner scanner-%k", MODE="0660"
+ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="3|6", SYMLINK+="scanner scanner-%k", MODE="0660"
 
 ACTION=="add", KERNEL=="sg[0-9]*", BUS=="scsi", ATTRS{type}=="8", SYMLINK+="changer changer-%k", MODE="0660", GROUP="disk"
 
-ACTION=="add", SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"
-
 BUS=="usb", KERNEL=="sd*", ATTRS{bInterfaceClass}=="08", ATTRS{bInterfaceSubClass}=="04", GROUP="floppy", MODE="0660",         SYMLINK+="floppy floppy-%k"
 
 KERNEL=="fd[0-9]*",            SYMLINK+="floppy floppy-%k"