| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -92,8 +92,12 @@ class Fail2banManageCommand extends Command | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            $checkbox = new CheckboxItem($name, function(CliMenu $menu) use ($name) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                 if ($this->configuration[$name] === true) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $this->call('fail2ban:disable', [ 'configuration' => $name ]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $menu->redraw(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $menu->confirm($name.' is disabled!')->display('OK!'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                 } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $this->call('fail2ban:enable', [ 'configuration' => $name ]); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $menu->redraw(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                     $menu->confirm($name.' is enabled!')->display('OK!'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                 } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                 // getting new value
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |