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 03a42f0..e9eeb85 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}"