From 6b3d8df6476694880e200bf35285d85db05d0f57 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Sat, 27 Apr 2019 10:02:41 -0400 Subject: [PATCH] Remove dnsmasq restart from daemon start process --- includes/functions.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 825c321..c76d03b 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -616,14 +616,12 @@ function SaveTORAndVPNConfig() Starting Lokinet background daemon process. $output"; + /*$output = shell_exec('sudo /etc/init.d/dnsmasq stop'); + echo "
$output
";*/ $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); echo "
$output
"; - $output = shell_exec('sudo /etc/init.d/dnsmasq start'); - # sleep(5); - # $output = shell_exec('sudo dnsmasq --interface=wlan0 --bind-interfaces --dhcp-range=10.3.141.0,10.3.141.24,12h --conf-file=/etc/resolv.conf'); - echo "
$output
"; + /*$output = shell_exec('sudo /etc/init.d/dnsmasq start'); + echo "
$output
";*/ } elseif (isset($_POST['StopDaemon'])) { ?>