Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure to always cleanly unmount (e.g., on shutdown) in mount-sd-service by adding After=udisks2.service, Requires=udisks2.service and an unconditional ExecStop= (by removing the "-" appended). This change has been evaluated and tested for a year per mount-sdcard [1][2]. Note: Requisite (of dev-%i.device) should behave the same as BindsTo except on certain failures with layered devices such as USB memory card reader (UMS + memory card interface). However that should not be a significant difference otherwise. [1] https://github.com/Olf0/mount-sdcard [2] https://openrepos.net/content/olf/mount-sdcard
- Loading branch information