50-udev-default.rules: don't run anything but REMOVE_CMD on remove

we don't want to run usb_id and input_id on ACTION=="remove"

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Harald Hoyer 2015-03-27 15:42:04 +01:00 committed by Anthony G. Basile
parent 8f2f61f0a3
commit 288fc0a1fb

View 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}"