use label to make udev rules more concise

Rather than checking ACTION=="add" over and over again in the udev
rules, it would be simpler and more efficient to check once at the top
and jump past the add-only rules if ACTION!="add".

Signed-off-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
6 files changed
tree: 110c8829299da72ef7fdd0d02c49b7ab51d98666
  1. build/
  2. config/
  3. debug/
  4. doc/
  5. hotplug/
  6. man/
  7. src/
  8. udev/
  9. .gitignore
  10. COPYING
  11. Makefile