1-get-initial-setup-working #2
							
								
								
									
										2
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.sh
									
									
									
									
									
								
							| @@ -147,7 +147,7 @@ function no_zpool_exists () { | |||||||
| function set_zpool_password () { | function set_zpool_password () { | ||||||
|     # May or may not have a newline at the end, ZFS doesn't care |     # May or may not have a newline at the end, ZFS doesn't care | ||||||
|     printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key' |     printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key' | ||||||
|     chmod '600' '/etc/zfs/'"${zpool_name}"'.key' |     chmod '000' '/etc/zfs/'"${zpool_name}"'.key' | ||||||
| } | } | ||||||
|  |  | ||||||
| function import_pool () { | function import_pool () { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user