aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2015-03-27 15:42:04 +0100
committerHarald Hoyer <harald@redhat.com>2015-03-27 15:42:04 +0100
commita06c8219a324825c8043cc72508e423b267caab8 (patch)
tree74cf11e49a9521e2e464b483427c2cb9bcc3d7e4 /rules
parentcdrom_id: unroll and simplify data check loop (diff)
downloadsystemd-a06c8219a324825c8043cc72508e423b267caab8.tar.gz
systemd-a06c8219a324825c8043cc72508e423b267caab8.tar.bz2
systemd-a06c8219a324825c8043cc72508e423b267caab8.zip
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"
Diffstat (limited to 'rules')
-rw-r--r--rules/50-udev-default.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
index 03a42f0d0..e9eeb8518 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}"