| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -381,7 +381,7 @@ function DisplayLokinetConfig(){
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          				} else {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          					echo '<input type="submit" class="btn btn-danger" name="StopLokinet" value="Stop Lokinet" />' , PHP_EOL;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				          				};
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				                  $filename = '/home/pi/.lokinet/lokinet.ini';
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				                  $filename = '/root/.lokinet/lokinet.ini';
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				                  if (!file_exists($filename)) {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				                    echo '<input tpe="submit" class="btn btn-success" name="GenerateLokinet" value="Gnerate .ini" />' , PHP_EOL;
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				                  } else {
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -626,7 +626,7 @@ function SaveTORAndVPNConfig(){
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				  } elseif( isset($_POST['ReGenerateLokinet']) ) {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return );
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    ?>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				  
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    <div class="alert alert-warning">
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				      Regenerating Lokinet Configuration
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    </div>
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |