chiark / gitweb /
50-udev-default.rules: don't run anything but REMOVE_CMD on remove
authorHarald Hoyer <harald@redhat.com>
Fri, 27 Mar 2015 14:42:04 +0000 (15:42 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 27 Mar 2015 14:42:04 +0000 (15:42 +0100)
we don't want to run usb_id and input_id on ACTION=="remove"

rules/50-udev-default.rules

index 03a42f0d0eaa0134fa8f3602eff0d427ab69f670..e9eeb8518ef3629c5150df847de0ad5922a69c60 100644 (file)
@@ -2,6 +2,7 @@
 
 # run a command on remove events
 ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}"
+ACTION=="remove", GOTO="default_end"
 
 SUBSYSTEM=="virtio-ports", KERNEL=="vport*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}"