dnsmasq restart verbose

pull/16/head
necro-nemesis 6 years ago
parent 215e45b886
commit 3cbb7ba5ff

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

Loading…
Cancel
Save