[Nut-upsdev] nut + usb + udev with kernel 2.6.22
Vamp
admin at vampik.ru
Mon Oct 8 16:49:59 UTC 2007
Hello, Arjen!
You wrote to "Vamp" <admin at vampik.ru> on Mon, 08 Oct 2007 13:35:07 +0200:
> As long as SUBSYSTEM is equal to "usb" or "usb_device", that doesn't
> matter. If not, if BUS either doesn't exist or is not equal to "usb", we
> should probably skip the remainder.
I mean why don't you just write:
SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real"
SUBSYSTEM!="usb", GOTO="nut-usbups_rules_end"
instead of:
SUBSYSTEM=="usb_device", GOTO="nut-usbups_rules_real"
SUBSYSTEM=="usb", GOTO="nut-usbups_rules_real"
BUS!="usb", GOTO="nut-usbups_rules_end"
With best regards, Vamp. E-mail: admin at vampik.ru
More information about the Nut-upsdev
mailing list