14 lines
		
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			340 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# Copy this file as mounts.conf, and add your volumes.
 | 
						|
 | 
						|
declare -A mount1
 | 
						|
mount1[mapper]='' # As in /dev/mapper/<?>
 | 
						|
mount1[target]='' # Mount point (absolute path)
 | 
						|
mount1[friendly]='' # Optional friendly name for unit file Description
 | 
						|
mount1[autolock]=0 # Set to 1 to enable autolock
 | 
						|
 | 
						|
mounts=(
 | 
						|
  $mount1
 | 
						|
  #$mount2...
 | 
						|
)
 |