]> git.ipfire.org Git - thirdparty/systemd.git/blob - rules.d/60-persistent-media-controller.rules
test: make coverage runs happy with capsule@.service
[thirdparty/systemd.git] / rules.d / 60-persistent-media-controller.rules
1 # do not edit this file, it will be overwritten on update
2
3 # Media controller rules
4
5 ACTION=="remove", GOTO="persistent_media_ctl_end"
6 SUBSYSTEM!="media", GOTO="persistent_media_ctl_end"
7 ENV{MAJOR}=="", GOTO="persistent_media_ctl_end"
8
9 IMPORT{builtin}="path_id"
10 ENV{ID_PATH}=="?*", KERNEL=="media*", SYMLINK+="media/by-path/$env{ID_PATH}-media-controller"
11
12 LABEL="persistent_media_ctl_end"