summaryrefslogtreecommitdiff
path: root/src/udev/rules/95-udev-late.rules
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/rules/95-udev-late.rules')
-rw-r--r--src/udev/rules/95-udev-late.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/rules/95-udev-late.rules b/src/udev/rules/95-udev-late.rules
new file mode 100644
index 0000000000..eca0faa5c5
--- /dev/null
+++ b/src/udev/rules/95-udev-late.rules
@@ -0,0 +1,4 @@
+# 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}"