| 
				
			 | 
			
			
				@@ -344,7 +344,8 @@ function regenerate_dh_keys { 
			 | 
		
	
		
			
			| 
				344
			 | 
			
				344
			 | 
			
			
				       data=$(tempfile 2>/dev/null) 
			 | 
		
	
		
			
			| 
				345
			 | 
			
				345
			 | 
			
			
				       trap "rm -f $data" 0 1 2 5 15 
			 | 
		
	
		
			
			| 
				346
			 | 
			
				346
			 | 
			
			
				       dialog --backtitle "Freedombone Security Configuration" \ 
			 | 
		
	
		
			
			| 
				347
			 | 
			
				
			 | 
			
			
				-             --radiolist "Select a Diffie-Hellman key length. The smaller length is better suited to low power embedded systems:" 12 40 2 \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				347
			 | 
			
			
				+             --title "Diffie-Hellman key length" \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				348
			 | 
			
			
				+             --radiolist "The smaller length is better suited to low power embedded systems:" 10 40 2 \ 
			 | 
		
	
		
			
			| 
				348
			 | 
			
				349
			 | 
			
			
				              1 "1024 bits" off \ 
			 | 
		
	
		
			
			| 
				349
			 | 
			
				350
			 | 
			
			
				              2 "3072 bits" on 2> $data 
			 | 
		
	
		
			
			| 
				350
			 | 
			
				351
			 | 
			
			
				       sel=$? 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -375,7 +376,8 @@ function regenerate_dh_keys { 
			 | 
		
	
		
			
			| 
				375
			 | 
			
				376
			 | 
			
			
				 function housekeeping { 
			 | 
		
	
		
			
			| 
				376
			 | 
			
				377
			 | 
			
			
				   cmd=(dialog --separate-output \ 
			 | 
		
	
		
			
			| 
				377
			 | 
			
				378
			 | 
			
			
				               --backtitle "Freedombone Security Configuration" \ 
			 | 
		
	
		
			
			| 
				378
			 | 
			
				
			 | 
			
			
				-              --checklist "Housekeeping options. If you don't need to do any of these things then just press Enter:" 10 76 16) 
			 | 
		
	
		
			
			| 
				
			 | 
			
				379
			 | 
			
			
				+              --title "Housekeeping options" \ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				380
			 | 
			
			
				+              --checklist "If you don't need to do any of these things then just press Enter:" 10 76 16) 
			 | 
		
	
		
			
			| 
				379
			 | 
			
				381
			 | 
			
			
				   options=(1 "Regenerate ssh host keys" off 
			 | 
		
	
		
			
			| 
				380
			 | 
			
				382
			 | 
			
			
				            2 "Regenerate Diffie-Hellman keys" off) 
			 | 
		
	
		
			
			| 
				381
			 | 
			
				383
			 | 
			
			
				   choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) 
			 |