start second instance of dnsmasq

pull/17/head
necro-nemesis 6 years ago
parent ec5d39e2d5
commit 1270e57afe

@ -607,7 +607,7 @@ function SaveTORAndVPNConfig()
$output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start');
echo "<pre><strong>$output</strong></pre>";
/*sleep(5);*/
# $output = shell_exec('sudo /etc/init.d/dnsmasq start');
$output = shell_exec('sudo dnsmasq --interface=lokitun0 --except-interface=lo --bind-interfaces --dhcp-range=10.3.141.0,10.3.141.24,12h --conf-file=/dev/null');
echo "<pre><strong>$output</strong></pre>";
} elseif (isset($_POST['StopLokinet'])) {
?>

Loading…
Cancel
Save