diff options
author | Harald Hoyer <harald@redhat.com> | 2015-03-27 15:42:04 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-04-12 11:22:21 -0400 |
commit | 288fc0a1fbe4ce377e074665d2d893a9c2b4537c (patch) | |
tree | 486b5599610c37824c0b2d0ab2bfbdd6593ea0fd | |
parent | 8f2f61f0a3ea8677e92604bf960bf83ccc1845bc (diff) |
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>
-rw-r--r-- | rules/50-udev-default.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules index 03a42f0d0e..e9eeb8518e 100644 --- a/rules/50-udev-default.rules +++ b/rules/50-udev-default.rules @@ -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}" |