mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
rules: add REMOVE_CMD rule
This commit is contained in:
parent
b6e4b08dc1
commit
3f781cab37
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user