| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -602,12 +602,13 @@ function SaveTORAndVPNConfig()
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				      Starting Lokinet background daemon process.
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    </div>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    <?php
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    /* shell_exec('/etc/init.d/dnsmasq stop > /dev/null &'); */
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    echo "<pre><strong>$output</strong></pre>";
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    /* sleep(10); */
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    /*$output = shell_exec('/etc/init.d/dnsmasq restart');
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    echo "<pre><strong>$output</strong></pre>"; */
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    $output = shell_exec('/etc/init.d/dnsmasq stop');
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    echo "<pre><strong>$output</strong></pre>";
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    sleep(5);
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    $output = shell_exec('/etc/init.d/dnsmasq restart');
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    echo "<pre><strong>$output</strong></pre>";
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    } elseif (isset($_POST['StopLokinet'])) {
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        ?>
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    <div class="alert alert-danger">
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |