diff options
author | Harald Hoyer <harald@redhat.com> | 2015-03-27 15:42:04 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2015-03-27 15:42:04 +0100 |
commit | a06c8219a324825c8043cc72508e423b267caab8 (patch) | |
tree | 74cf11e49a9521e2e464b483427c2cb9bcc3d7e4 | |
parent | cb80d06c74ac6ba52fbfba8ecf5d5b2f06ba8c77 (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"
-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}" |