diff options
-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" |