From 8e70d3b02805bb803346ca94df1fd11869b4cfe6 Mon Sep 17 00:00:00 2001 From: necro-nemesis Date: Mon, 15 Apr 2019 20:10:20 -0400 Subject: [PATCH] Run/stop dnsmasq service in php --- includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/functions.php b/includes/functions.php index cd9d1a4..c26f50d 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -602,7 +602,9 @@ function SaveTORAndVPNConfig() Starting Lokinet background daemon process. /dev/null &'); $output = shell_exec('sudo /home/pi/loki-network/lokilaunch.sh start'); + shell_exec('/etc/init.d/dnsmasq start --bind-interfaces > /dev/null &'); echo "
$output
"; } elseif (isset($_POST['StopLokinet'])) { ?>