project-trident / trident-core

Core Packages and system overlay files
http://project-trident.org
BSD 2-Clause "Simplified" License
33 stars 10 forks source link

Hook into SDDM close-down routine to ensure ZFS homedirs are unmount without hardcoded homedirs #102

Closed panicketchup closed 4 years ago

beanpole135 commented 4 years ago

Thank you for sending this in! I took the routine that you utilized using "last" in this PR, and merged that into the existing script with some additional safeguards here: https://github.com/project-trident/trident-core/blob/master/void-desktop-files/usr/share/sddm/scripts/Xstop.trident

With your changes merged into that script, I think that we now have a very robust method for ensuring that ZFS homedirs get auto-unmounted after logout. Thanks!!