diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-26 00:48:49 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-08-26 00:48:49 +0200 |
commit | 3f781cab37dbee76340c65602555a524ffea96f9 (patch) | |
tree | 5bcaad632c93d6035e61b5125cc1d27a3d9a57c8 /etc/udev | |
parent | b6e4b08dc14444790c1560108e93a67e57e1148b (diff) |
rules: add REMOVE_CMD rule
Diffstat (limited to 'etc/udev')
-rw-r--r-- | etc/udev/rules.d/95-udev-late.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/rules.d/95-udev-late.rules b/etc/udev/rules.d/95-udev-late.rules index 1755d0855c..4a015b9eed 100644 --- a/etc/udev/rules.d/95-udev-late.rules +++ b/etc/udev/rules.d/95-udev-late.rules @@ -1,5 +1,8 @@ # do not edit this file, it will be overwritten on update +# run a command on remove events +ACTION=="remove", ENV{REMOVE_CMD}!="", RUN+="$env{REMOVE_CMD}" + # event to be catched by udevmonitor RUN+="socket:/org/kernel/udev/monitor" |