6-add-ssh-to-bootloader #20
							
								
								
									
										2
									
								
								setup.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								setup.sh
									
									
									
									
									
								
							| @@ -465,7 +465,7 @@ function add_zfs_hook_to_initramfs () { | ||||
|     #1.16 | ||||
|     # Add zfs hook, remove fsck hook from initramfs. | ||||
|     sed -ri \ | ||||
|         -e 's'$'\x1''(HOOKS=)(.*?[\(| ])(filesystems)([\)| ][^\r\n\f]*)'$'\x1''\1\2zfs \3\4'$'\x1''g' \ | ||||
|         -e 's'$'\x1''(HOOKS=)(.*?[( ])(filesystems)([) ][^\r\n\f]*)'$'\x1''\1\2zfs \3\4'$'\x1''g' \ | ||||
|         -e 's'$'\x1''((\()(fsck)(\)))'$'\x1''\2\4'$'\x1''g' \ | ||||
|         -e 's'$'\x1''(([[:space:]]+)(fsck)|(fsck)([[:space:]]+))'$'\x1'''$'\x1''g' \ | ||||
|         '/mnt/etc/mkinitcpio.conf' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user