gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/99-automount-sd.rules
Gerben Jan Dijkman a7f7a7f86b Version Bump
2021-10-03 17:58:12 +02:00

4 lines
229 B
Plaintext

## Automatically mount the SD card when inserted
ACTION=="add", KERNEL=="mmcblk[0-2]p*", ENV{ID_FS_USAGE}=="filesystem", RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --timeout-idle-sec=1s $devnode /media/%k"