1 2 3 4 5 6 7 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"