1 # do not edit this file, it will be overwritten on update
3 # Media controller rules
5 ACTION=="remove", GOTO="persistent_media_ctl_end"
6 SUBSYSTEM!="media", GOTO="persistent_media_ctl_end"
7 ENV{MAJOR}=="", GOTO="persistent_media_ctl_end"
9 IMPORT{builtin}="path_id"
10 ENV{ID_PATH}=="?*", KERNEL=="media*", SYMLINK+="media/by-path/$env{ID_PATH}-media-controller"
12 LABEL="persistent_media_ctl_end"