8fab47ec65de475fec3e99e84d506b27761e912c
				
			
			
		
	Mounting encrypted volumes helper
crypt-mounts' purpose is to reduce to one the commands needed to mount punctually encrypted volumes.
Introduction
One defines their mounts in mounts.conf, giving for each:
- the mapper name (usually defined in 
/etc/crypttab); - the mount target path;
 - the file system type;
 - a friendly name for the mount (optional);
 - a boolean for enabling auto-locking (i.e. closing encrypted volume when unmounted) or not;
 - a boolean for enabling mount timeout (useful to prevent hanging at boot).
 
The install script then generates a Systemd mount file for each mount, with the required bindings.
Files
template.mountis a template for Systemd mount units.close-vault.conf.templateis a Systemd drop-in template, for auto-locking.timeout.confis a Systemd drop-in for mount timeout.
Installation
mounts.conf.templatecontains a mount definition example, and should be copied locally inmounts.conf.das<something>.conf, for each of your mounts.install.shscript copies Systemd templates to their destination, depending on your definitions inmounts.conf.d.
TODO
- Nothing
 
Description
				
					Languages
				
				
								
								
									Shell
								
								100%