blob: f942118d2c2bbb4ce5deb2390e9e2a4d8385ea9f [file] [log] [blame]
developer20cf1bf2022-12-19 15:14:00 +08001KERNEL=="sd[a-z]*[0-9]", SUBSYSTEMS=="usb", ACTION=="add", RUN+="/bin/systemctl start usb-mount@%k.service"
2
3KERNEL=="sd[a-z]*[0-9]", SUBSYSTEMS=="usb", ACTION=="remove", RUN+="/bin/systemctl stop usb-mount@%k.service"